Pagini recente » Cod sursa (job #290959) | Autentificare | Borderou de evaluare (job #953251) | Borderou de evaluare (job #946117) | Borderou de evaluare (job #1866039)
Borderou de evaluare (job #1866039)
Raport evaluator
Compilare:
user.cpp:38:33: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
char crtLine[MAX_LENGTH] = {NULL};
^
user.cpp: In function ‘void Read()’:
user.cpp:147:29: warning: format ‘%c’ expects argument of type ‘char*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf(fin, "%c", &c);
^
user.cpp:156:37: warning: format ‘%c’ expects argument of type ‘char*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf(fin, "%c", &c);
^
user.cpp:143:12: warning: unused variable ‘pos’ [-Wunused-variable]
fpos_t pos;
^
user.cpp:144:47: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d %d %d %d", &n, &a, &r, &k);
^
user.cpp:147:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%c", &c);
^
user.cpp:156:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%c", &c);
^
user.cpp:166:43: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%s", &crtLine[0]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1564kb | OK | 10 |
| 2 | 4ms | 1568kb | Partial incorect | 5 |
| 3 | 16ms | 1608kb | Partial incorect | 5 |
| 4 | 24ms | 1652kb | Partial incorect | 5 |
| 5 | 104ms | 2012kb | Partial incorect | 5 |
| 6 | 196ms | 2400kb | Partial incorect | 5 |
| 7 | 328ms | 3036kb | Partial incorect | 5 |
| 8 | Depăşit | 3872kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 1844kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 3916kb | Time limit exceeded. | 0 |
| Punctaj total | 40 |