Pagini recente » Borderou de evaluare (job #1916224) | Borderou de evaluare (job #1745268) | Borderou de evaluare (job #1575355) | Borderou de evaluare (job #2454570) | Borderou de evaluare (job #2343889)
Borderou de evaluare (job #2343889)
Raport evaluator
Compilare:
main.cpp: In function 'void p1()':
main.cpp:58:71: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
fprintf(out, "%d", coef[0] + coef[1] + coef[2] + coef[3] + coef[4]);
^
main.cpp: In function 'void p2()':
main.cpp:131:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
fprintf(out, "%d", nr);
^
main.cpp: In function 'int main()':
main.cpp:138:26: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
fscanf(in, "%d\n", &c);
^
main.cpp: In function 'void p1()':
main.cpp:18:25: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(s, 100000, in);
^
main.cpp: In function 'void p2()':
main.cpp:63:25: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(s, 100000, in);
^
main.cpp:104:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d %d %d", &a, &b, &r);
^
main.cpp: In function 'int main()':
main.cpp:138:27: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d\n", &c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Corect | 1 |
2 | 2ms | 131kb | Corect | 1 |
3 | 2ms | 131kb | Corect | 4 |
4 | 2ms | 131kb | Corect | 4 |
5 | 2ms | 131kb | Corect | 5 |
6 | 2ms | 131kb | Corect | 5 |
7 | 4ms | 131kb | Corect | 5 |
8 | 4ms | 131kb | Corect | 5 |
9 | 2ms | 131kb | Corect | 5 |
10 | 4ms | 131kb | Corect | 5 |
11 | 2ms | 131kb | Corect | 5 |
12 | 28ms | 131kb | Corect | 5 |
13 | 1503ms | 262kb | Time limit exceeded | 0 |
14 | 1500ms | 131kb | Time limit exceeded | 0 |
15 | 6ms | 131kb | Corect | 5 |
16 | 220ms | 393kb | Corect | 5 |
17 | 3ms | 131kb | Corect | 5 |
18 | 642ms | 131kb | Corect | 5 |
19 | 8ms | 131kb | Corect | 5 |
20 | 1503ms | 262kb | Time limit exceeded | 0 |
21 | 9ms | 262kb | Corect | 5 |
22 | 1500ms | 262kb | Time limit exceeded | 0 |
Punctaj total | 80 |