Pagini recente » Borderou de evaluare (job #1475624) | Borderou de evaluare (job #856350) | Borderou de evaluare (job #29066) | Borderou de evaluare (job #2935592) | Borderou de evaluare (job #1866242)
Borderou de evaluare (job #1866242)
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:162:44: warning: format ‘%c’ expects argument of type ‘char*’, but argument 3 has type ‘int*’ [-Wformat=]
if(fscanf(fin, "%c", &c) == EOF)
^
user.cpp:174:39: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[25]’ [-Wformat=]
fscanf(fin, "%s", &crtLine);
^
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:174:40: 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 | 0ms | 1576kb | OK | 10 |
2 | 4ms | 1580kb | OK | 10 |
3 | 12ms | 1620kb | OK | 10 |
4 | 20ms | 1660kb | OK | 10 |
5 | 104ms | 2024kb | Partial incorect | 5 |
6 | 200ms | 2404kb | Partial incorect | 5 |
7 | 328ms | 3036kb | Partial incorect | 5 |
8 | Depăşit | 3852kb | Time limit exceeded. | 0 |
9 | Depăşit | 1844kb | Time limit exceeded. | 0 |
10 | Depăşit | 3940kb | Time limit exceeded. | 0 |
Punctaj total | 55 |