Pagini recente » Borderou de evaluare (job #195985) | Borderou de evaluare (job #1488544) | Borderou de evaluare (job #1315842) | Borderou de evaluare (job #2294947) | Borderou de evaluare (job #1866482)
Borderou de evaluare (job #1866482)
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:148:29: warning: format ‘%c’ expects argument of type ‘char*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf(fin, "%c", &c);
^
user.cpp:157:37: warning: format ‘%c’ expects argument of type ‘char*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf(fin, "%c", &c);
^
user.cpp:163:44: warning: format ‘%c’ expects argument of type ‘char*’, but argument 3 has type ‘int*’ [-Wformat=]
if(fscanf(fin, "%c", &c) == EOF)
^
user.cpp:144:12: warning: unused variable ‘pos’ [-Wunused-variable]
fpos_t pos;
^
user.cpp:145: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:148: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:157: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:175:39: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%s", crtLine);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 1876kb | OK | 10 |
2 | 4ms | 1888kb | OK | 10 |
3 | 12ms | 1924kb | OK | 10 |
4 | 24ms | 1960kb | OK | 10 |
5 | 108ms | 2332kb | OK | 10 |
6 | 200ms | 2708kb | Partial incorect | 5 |
7 | 340ms | 3344kb | Partial incorect | 5 |
8 | Depăşit | 3868kb | Time limit exceeded. | 0 |
9 | Depăşit | 1844kb | Time limit exceeded. | 0 |
10 | Depăşit | 4004kb | Time limit exceeded. | 0 |
Punctaj total | 60 |