Pagini recente » Borderou de evaluare (job #2610476) | Borderou de evaluare (job #2037985) | Borderou de evaluare (job #1528890) | Borderou de evaluare (job #1973944) | Borderou de evaluare (job #1569347)
Borderou de evaluare (job #1569347)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:31:23: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[1000001]’ [-Wformat=]
fscanf(f, "%s", &s);
^
user.cpp:33:23: warning: unused variable ‘p’ [-Wunused-variable]
int i = 1, j = 0, p = 0, lmax = 0, cmax = 0;
^
user.cpp: In function ‘char opus(char)’:
user.cpp:16:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int FindPos(int)’:
user.cpp:22:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:29:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d\n", &n);
^
user.cpp:31:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%s", &s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 432kb | OK | 5 |
2 | 0ms | 436kb | Incorect | 0 |
3 | 0ms | 436kb | Incorect | 0 |
4 | 0ms | 436kb | Incorect | 0 |
5 | 0ms | 440kb | Incorect | 0 |
6 | 0ms | 436kb | Incorect | 0 |
7 | 0ms | 440kb | Incorect | 0 |
8 | 0ms | 440kb | Incorect | 0 |
9 | 0ms | 440kb | Incorect | 0 |
10 | 0ms | 436kb | Incorect | 0 |
11 | 0ms | 448kb | Incorect | 0 |
12 | 0ms | 472kb | Incorect | 0 |
13 | 0ms | 536kb | Incorect | 0 |
14 | 4ms | 632kb | Incorect | 0 |
15 | 12ms | 1024kb | Incorect | 0 |
16 | 16ms | 1124kb | Incorect | 0 |
17 | 20ms | 1220kb | Incorect | 0 |
18 | 20ms | 1316kb | Incorect | 0 |
19 | 24ms | 1404kb | Incorect | 0 |
20 | 24ms | 1412kb | Incorect | 0 |
Punctaj total | 5 |