Pagini recente » Borderou de evaluare (job #98733) | Borderou de evaluare (job #1853903) | Borderou de evaluare (job #1058543) | Borderou de evaluare (job #1064688) | Borderou de evaluare (job #2406613)
Borderou de evaluare (job #2406613)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:49:32: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'long long int*' [-Wformat=]
fscanf(fin, "%ld", &cerinta);
^
main.cpp:50:32: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'long long int*' [-Wformat=]
fscanf(fin, "%ld%ld", &n,&x);
^
main.cpp:50:32: warning: format '%ld' expects argument of type 'long int*', but argument 4 has type 'long long int*' [-Wformat=]
main.cpp:52:33: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'long long int*' [-Wformat=]
fscanf(fin, "%ld", &d[i]);
^
main.cpp:54:33: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'long long int*' [-Wformat=]
fscanf(fin, "%ld", &v[i]);
^
main.cpp:84:34: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=]
fprintf(fout, "%ld", (int)ans);
^
main.cpp:49:33: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%ld", &cerinta);
^
main.cpp:50:33: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%ld%ld", &n,&x);
^
main.cpp:52:34: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%ld", &d[i]);
^
main.cpp:54:34: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%ld", &v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Ok | 2 |
2 | 2ms | 131kb | Ok | 1 |
3 | 2ms | 131kb | Ok | 1 |
4 | 2ms | 131kb | Ok | 1 |
5 | 5ms | 131kb | Ok | 3 |
6 | 6ms | 131kb | Ok | 3 |
7 | 9ms | 131kb | Ok | 4 |
8 | 65ms | 524kb | Ok | 3 |
9 | 93ms | 524kb | Ok | 3 |
10 | 102ms | 524kb | Ok | 4 |
11 | 541ms | 1703kb | Ok | 5 |
12 | 2ms | 131kb | Incorect | 0 |
13 | 3ms | 131kb | Ok | 4 |
14 | 365ms | 786kb | Incorect | 0 |
15 | 800ms | 1310kb | Time limit exceeded | 0 |
16 | 151ms | 524kb | Ok | 5 |
17 | 435ms | 1179kb | Ok | 5 |
18 | 802ms | 1310kb | Time limit exceeded | 0 |
19 | 793ms | 1835kb | Ok | 6 |
20 | 803ms | 1441kb | Time limit exceeded | 0 |
21 | 801ms | 1310kb | Time limit exceeded | 0 |
22 | 802ms | 1310kb | Time limit exceeded | 0 |
Punctaj total | 50 |