Pagini recente » Borderou de evaluare (job #1825022) | Borderou de evaluare (job #868471) | Borderou de evaluare (job #3042692) | Borderou de evaluare (job #1161594) | Borderou de evaluare (job #2690794)
Borderou de evaluare (job #2690794)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:21:30: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=]
fscanf( fin, "%d", &v[ i ] );
^
main.cpp:15:14: warning: unused variable 'n1' [-Wunused-variable]
int ni, nz, n1, n2, i, j, c = 0, poz;
^~
main.cpp:15:18: warning: unused variable 'n2' [-Wunused-variable]
int ni, nz, n1, n2, i, j, c = 0, poz;
^~
main.cpp:15:25: warning: variable 'j' set but not used [-Wunused-but-set-variable]
int ni, nz, n1, n2, i, j, c = 0, poz;
^
main.cpp:15:28: warning: unused variable 'c' [-Wunused-variable]
int ni, nz, n1, n2, i, j, c = 0, poz;
^
main.cpp:15:35: warning: unused variable 'poz' [-Wunused-variable]
int ni, nz, n1, n2, i, j, c = 0, poz;
^~~
main.cpp:17:33: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin, "%d%d", &ni, &nz );
^
main.cpp:21:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin, "%d", &v[ i ] );
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 5 |
2 | 2ms | 131kb | OK | 5 |
3 | 3ms | 131kb | OK | 5 |
4 | 2ms | 131kb | OK | 5 |
5 | 3ms | 131kb | OK | 5 |
6 | 2ms | 131kb | OK | 5 |
7 | 3ms | 131kb | OK | 5 |
8 | 3ms | 131kb | OK | 5 |
9 | 2ms | 131kb | OK | 5 |
10 | 2ms | 131kb | OK | 5 |
11 | 3ms | 131kb | OK | 5 |
12 | 3ms | 131kb | OK | 5 |
13 | 3ms | 131kb | OK | 5 |
14 | 3ms | 131kb | OK | 5 |
15 | 3ms | 131kb | OK | 5 |
16 | 65ms | 131kb | OK | 5 |
17 | 52ms | 131kb | OK | 5 |
18 | 200ms | 131kb | Time limit exceeded | 0 |
19 | 4ms | 131kb | OK | 5 |
20 | 4ms | 131kb | OK | 5 |
Punctaj total | 95 |