Pagini recente » Borderou de evaluare (job #115295) | Borderou de evaluare (job #2401478) | Borderou de evaluare (job #1000430) | Borderou de evaluare (job #1637215) | Borderou de evaluare (job #1608975)
Borderou de evaluare (job #1608975)
Raport evaluator
Compilare:
user.cpp: In function ‘int solve(int, int)’:
user.cpp:32:21: warning: unused variable ‘j’ [-Wunused-variable]
for (int i = 1, j = 0; i <= n; i++) {
^
user.cpp: In function ‘int main()’:
user.cpp:61:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trans.in", "r", stdin);
^
user.cpp:62:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trans.out", "w", stdout);
^
user.cpp:64:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:67:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &c[i], &s[i]);
^
user.cpp:72:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &q);
^
user.cpp:75:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &k, &t);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 292kb | OK | 10 |
2 | 0ms | 292kb | OK | 10 |
3 | 4ms | 388kb | OK | 10 |
4 | 20ms | 588kb | OK | 10 |
5 | 92ms | 516kb | OK | 10 |
6 | Depăşit | 652kb | Time limit exceeded. | 0 |
7 | Depăşit | 576kb | Time limit exceeded. | 0 |
8 | Depăşit | 596kb | Time limit exceeded. | 0 |
9 | Depăşit | 624kb | Time limit exceeded. | 0 |
10 | Depăşit | 596kb | Time limit exceeded. | 0 |
Punctaj total | 50 |