Pagini recente » Borderou de evaluare (job #1951607) | Borderou de evaluare (job #2734162) | Borderou de evaluare (job #94323) | Borderou de evaluare (job #631602) | Borderou de evaluare (job #2406591)
Borderou de evaluare (job #2406591)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:48: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:49: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:49:32: warning: format '%ld' expects argument of type 'long int*', but argument 4 has type 'long long int*' [-Wformat=]
main.cpp:51: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:53: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:83:34: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=]
fprintf(fout, "%ld", (int)ans);
^
main.cpp:48: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:49: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:51: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:53: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 | 8ms | 131kb | Ok | 4 |
8 | 59ms | 524kb | Ok | 3 |
9 | 84ms | 524kb | Ok | 3 |
10 | 96ms | 524kb | Ok | 4 |
11 | 484ms | 1703kb | Ok | 5 |
12 | 2ms | 131kb | Incorect | 0 |
13 | 3ms | 131kb | Incorect | 0 |
14 | 321ms | 786kb | Incorect | 0 |
15 | 803ms | 1310kb | Time limit exceeded | 0 |
16 | 171ms | 524kb | Ok | 5 |
17 | 370ms | 1048kb | Ok | 5 |
18 | 746ms | 1703kb | Incorect | 0 |
19 | 632ms | 1703kb | Ok | 6 |
20 | 612ms | 1703kb | Ok | 8 |
21 | 759ms | 1703kb | Ok | 10 |
22 | 803ms | 1310kb | Time limit exceeded | 0 |
Punctaj total | 64 |