Pagini recente » Borderou de evaluare (job #2758324) | Borderou de evaluare (job #1350596) | Borderou de evaluare (job #1304311) | Clasamentul arhivei de probleme | Borderou de evaluare (job #1608980)
Borderou de evaluare (job #1608980)
Raport evaluator
Compilare:
user.cpp: In function ‘int solve(int, int)’:
user.cpp:28:21: warning: unused variable ‘j’ [-Wunused-variable]
for (int i = 1, j = 0; i <= n; i++) {
^
user.cpp: In function ‘int main()’:
user.cpp:60: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:61: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:63:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:66: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:71:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &q);
^
user.cpp:74: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 | 296kb | OK | 10 |
2 | 0ms | 292kb | OK | 10 |
3 | 4ms | 392kb | OK | 10 |
4 | 16ms | 588kb | OK | 10 |
5 | 56ms | 516kb | OK | 10 |
6 | 100ms | 660kb | OK | 10 |
7 | 116ms | 580kb | OK | 10 |
8 | 128ms | 600kb | OK | 10 |
9 | 100ms | 624kb | OK | 10 |
10 | 140ms | 608kb | OK | 10 |
Punctaj total | 100 |