Pagini recente » Cod sursa (job #2199955) | Borderou de evaluare (job #2524379) | Atasamentele paginii ShiftRight | Borderou de evaluare (job #2917194) | Borderou de evaluare (job #2648621)
Borderou de evaluare (job #2648621)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:18:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<strlen(s); i++) {
~^~~~~~~~~~
main.cpp:14:10: warning: unused variable 'c' [-Wunused-variable]
char c=fgetc(pf);
^
main.cpp:13:28: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(pf, "%[^\n]", s);
^
main.cpp:15:28: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(s2, MAX_SIZE, pf);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 2ms | 131kb | Corect | 10 | 0 |
| 2 | 2ms | 131kb | Corect | 10 |
| 3 | 2ms | 131kb | Corect | 10 |
| 4 | 7ms | 131kb | Corect | 10 |
| 5 | 32ms | 200kb | Corect | 10 |
| 6 | 58ms | 131kb | Corect | 10 |
| 7 | 101ms | 262kb | Time limit exceeded | 0 |
| 8 | 19ms | 262kb | Corect | 10 |
| 9 | 100ms | 262kb | Time limit exceeded | 0 |
| 10 | 7ms | 262kb | Corect | 10 |
| Punctaj total | 0 |