Pagini recente » Borderou de evaluare (job #1921408) | Borderou de evaluare (job #1136035) | Borderou de evaluare (job #878209) | Borderou de evaluare (job #1669632) | Borderou de evaluare (job #2406590)
Borderou de evaluare (job #2406590)
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 | 6ms | 131kb | Ok | 3 |
| 6 | 8ms | 131kb | Ok | 3 |
| 7 | 11ms | 131kb | Ok | 4 |
| 8 | 84ms | 524kb | Ok | 3 |
| 9 | 123ms | 524kb | Ok | 3 |
| 10 | 140ms | 524kb | Ok | 4 |
| 11 | 730ms | 1703kb | Ok | 5 |
| 12 | 2ms | 131kb | Ok | 4 |
| 13 | 4ms | 131kb | Ok | 4 |
| 14 | 514ms | 786kb | Incorect | 0 |
| 15 | 800ms | 1310kb | Time limit exceeded | 0 |
| 16 | 245ms | 524kb | Ok | 5 |
| 17 | 600ms | 1048kb | Ok | 5 |
| 18 | 807ms | 1282kb | Time limit exceeded | 0 |
| 19 | 803ms | 1310kb | Time limit exceeded | 0 |
| 20 | 803ms | 1310kb | Time limit exceeded | 0 |
| 21 | 803ms | 1310kb | Time limit exceeded | 0 |
| 22 | 800ms | 1310kb | Time limit exceeded | 0 |
| Punctaj total | 48 |