Pagini recente » Borderou de evaluare (job #2728785) | Borderou de evaluare (job #1546186) | Borderou de evaluare (job #442394) | Borderou de evaluare (job #2866679) | Borderou de evaluare (job #1866229)
Borderou de evaluare (job #1866229)
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 | 1572kb | OK | 10 |
2 | 4ms | 1572kb | Partial incorect | 5 |
3 | 12ms | 1608kb | Partial incorect | 5 |
4 | 24ms | 1656kb | Partial incorect | 5 |
5 | 116ms | 2020kb | Partial incorect | 5 |
6 | 216ms | 2404kb | Partial incorect | 5 |
7 | 360ms | 3040kb | Partial incorect | 5 |
8 | Depăşit | 3712kb | Time limit exceeded. | 0 |
9 | Depăşit | 1844kb | Time limit exceeded. | 0 |
10 | Depăşit | 3736kb | Time limit exceeded. | 0 |
Punctaj total | 40 |