Pagini recente » Borderou de evaluare (job #2057521) | Borderou de evaluare (job #3157427) | Borderou de evaluare (job #2836905) | Borderou de evaluare (job #1938420) | Borderou de evaluare (job #1709769)
Borderou de evaluare (job #1709769)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:116:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < queries[i].size(); j++){
^
user.cpp:117:19: warning: variable ‘qqq’ set but not used [-Wunused-but-set-variable]
pair<int, int> qqq = queries[i][j];
^
user.cpp:37:30: 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:38:32: 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:42:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &q);
^
user.cpp:48:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &val);
^
user.cpp:58:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &start, &end);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 180ms | 3916kb | OK | 10 | 100 |
2 | 152ms | 3652kb | OK | 10 |
3 | 176ms | 5232kb | OK | 10 |
4 | 160ms | 3916kb | OK | 10 |
5 | 184ms | 3912kb | OK | 10 |
6 | 196ms | 4448kb | OK | 10 |
7 | 168ms | 3648kb | OK | 10 |
8 | 168ms | 3916kb | OK | 10 |
9 | 180ms | 3904kb | OK | 10 |
10 | 188ms | 3920kb | OK | 10 |
Punctaj total | 100 |