Pagini recente » Borderou de evaluare (job #1845237) | Borderou de evaluare (job #2536306) | Borderou de evaluare (job #448965) | Borderou de evaluare (job #2279601) | Borderou de evaluare (job #1702024)
Borderou de evaluare (job #1702024)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d %d" , &type , &n);
^
user.cpp:18:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:20:29: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[5005]’ [-Wformat=]
scanf("%s" , &sir[i]);
^
user.cpp:25:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(strlen(sir[i]) > mx) {
^
user.cpp:31:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(strlen(sir[i]) == mx) {
^
user.cpp:15:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("interesant.in" , "r" , stdin);
^
user.cpp:16:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("interesant.out" , "w" , stdout);
^
user.cpp:18:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d" , &type , &n);
^
user.cpp:20:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s" , &sir[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 152ms | 1068kb | Incorect. | 0 | 0 |
2 | 224ms | 1224kb | Incorect. | 0 |
3 | 0ms | 396kb | Incorect. | 0 |
4 | 28ms | 916kb | Incorect. | 0 |
5 | 0ms | 352kb | OK. | 3 | 3 |
6 | 48ms | 1084kb | OK. | 3 | 3 |
7 | 0ms | 312kb | OK. | 3 | 3 |
8 | 64ms | 784kb | OK. | 3 | 3 |
9 | 668ms | 1240kb | OK. | 4 | 4 |
10 | 184ms | 1240kb | OK. | 4 | 4 |
11 | 540ms | 1124kb | OK. | 4 | 4 |
12 | 244ms | 1196kb | OK. | 4 | 4 |
13 | 268ms | 1216kb | OK. | 4 | 4 |
14 | 196ms | 1248kb | OK. | 5 | 5 |
15 | 240ms | 1248kb | OK. | 5 | 5 |
16 | 540ms | 1244kb | OK. | 5 | 5 |
17 | 404ms | 1228kb | OK. | 5 | 5 |
18 | 260ms | 1248kb | OK. | 5 | 5 |
19 | 288ms | 1244kb | OK. | 5 | 5 |
20 | Depăşit | 1252kb | Time limit exceeded. | 0 | 0 |
21 | Depăşit | 1228kb | Time limit exceeded. | 0 | 0 |
22 | 332ms | 1248kb | OK. | 6 | 6 |
Punctaj total | 68 |