Pagini recente » Borderou de evaluare (job #1752132) | Borderou de evaluare (job #721765) | Borderou de evaluare (job #174540) | Borderou de evaluare (job #1944531) | Borderou de evaluare (job #1708968)
Borderou de evaluare (job #1708968)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:73:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < qr[i].size(); ++ j)
^
user.cpp:45:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pq.in", "r", stdin);
^
user.cpp:46:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pq.out", "w", stdout);
^
user.cpp:48:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i %i", &n, &q);
^
user.cpp:49:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i = 1; i <= n; ++ i) scanf("%i", &a[i]);
^
user.cpp:52:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i %i", &l, &r);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 308ms | 5816kb | OK | 10 | 100 |
2 | 256ms | 4748kb | OK | 10 |
3 | 316ms | 6636kb | OK | 10 |
4 | 316ms | 6644kb | OK | 10 |
5 | 316ms | 5732kb | OK | 10 |
6 | 312ms | 5580kb | OK | 10 |
7 | 304ms | 5548kb | OK | 10 |
8 | 312ms | 5708kb | OK | 10 |
9 | 304ms | 5656kb | OK | 10 |
10 | 312ms | 5680kb | OK | 10 |
Punctaj total | 100 |