.campion
conectare | înregistrare | căutare
Pagina principală » Surse trimise » Sursa 490275

ultima problemă
grupă: mică
sursă: OMI 2016
ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
Sursa 490275
Concurent: Stefan Dascalescu (dascalescustefan)Progres: evaluare completă
Problemă: replacePunctaj exemplu: 10
Limbaj: cppPunctaj final: 22
Dată: 19 apr 2016, 15:38
Mesaj evaluator:
replace.cpp: In function 'int main()': replace.cpp:46: warning: name lookup of 'i' changed replace.cpp:27: warning: matches this 'i' under ISO standard rules replace.cpp:44: warning: matches this 'i' under old rules replace.cpp:54: warning: comparison between signed and unsigned integer expressions replace.cpp:56: warning: comparison between signed and unsigned integer expressions replace.cpp:14: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result replace.cpp:15: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result replace.cpp:16: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result replace.cpp:20: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result replace.cpp:21: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result replace.cpp:26: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result /tmp/ccq40mSk.o: In function `main': replace.cpp:(.text+0x96): warning: the `gets' function is dangerous and should not be used.
Teste de evaluare:
Test Timp Mesaj evaluator Punctaj
0 0 Okay! 10
Total exemple 10
1 0 Killed by signal: 11 0
2 0 Killed by signal: 11 0
3 0 Killed by signal: 11 0
4 0 Okay! 11
5 0 Killed by signal: 11 0
6 0 Okay! 11
7 0 Killed by signal: 11 0
8 0 Killed by signal: 11 0
9 0 Killed by signal: 11 0
Total evaluare 22
ajutor