Pagini recente » Borderou de evaluare (job #2121548) | Borderou de evaluare (job #3275988) | Borderou de evaluare (job #3157610) | Borderou de evaluare (job #2679099) | Borderou de evaluare (job #2756947)
Borderou de evaluare (job #2756947)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:15:32: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%ld %ld", &n, &query);
^
main.cpp:15:32: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'long long int*' [-Wformat=]
main.cpp:18:27: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%ld", &v[i]);
^
main.cpp:22:27: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%ld", &q[i]);
^
main.cpp:43:25: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'long long int' [-Wformat=]
printf("%ld ",nr);
^
main.cpp:13:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("veverite.in","r",stdin);
^
main.cpp:14:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("veverite.out","w",stdout);
^
main.cpp:15:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld", &n, &query);
^
main.cpp:18:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld", &v[i]);
^
main.cpp:22:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld", &q[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 13ms | 131kb | OK | 5 | 20 |
| 2 | 16ms | 131kb | OK | 5 |
| 3 | 17ms | 131kb | OK | 5 |
| 4 | 17ms | 131kb | OK | 5 |
| 5 | 1003ms | 1048kb | Time limit exceeded | 0 | 0 |
| 6 | 1000ms | 917kb | Time limit exceeded | 0 |
| 7 | 1001ms | 1048kb | Time limit exceeded | 0 |
| 8 | 1000ms | 917kb | Time limit exceeded | 0 |
| 9 | 1002ms | 1048kb | Time limit exceeded | 0 | 0 |
| 10 | 1000ms | 917kb | Time limit exceeded | 0 |
| 11 | 1003ms | 1048kb | Time limit exceeded | 0 |
| 12 | 1003ms | 1069kb | Time limit exceeded | 0 |
| 13 | 1000ms | 917kb | Time limit exceeded | 0 |
| 14 | 1002ms | 917kb | Time limit exceeded | 0 |
| 15 | 1000ms | 917kb | Time limit exceeded | 0 |
| 16 | 1001ms | 917kb | Time limit exceeded | 0 |
| 17 | 1000ms | 917kb | Time limit exceeded | 0 |
| 18 | 1003ms | 1048kb | Time limit exceeded | 0 |
| 19 | 1003ms | 917kb | Time limit exceeded | 0 |
| 20 | 1003ms | 1048kb | Time limit exceeded | 0 |
| Punctaj total | 20 |