Pagini recente » Borderou de evaluare (job #921512) | Borderou de evaluare (job #1108223) | Borderou de evaluare (job #593817) | Borderou de evaluare (job #2593839) | Borderou de evaluare (job #1608973)
Borderou de evaluare (job #1608973)
Raport evaluator
Compilare:
user.cpp: In function ‘long long 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:53:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(stderr, "%d ", dp[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 | 308kb | OK | 10 |
| 2 | 4ms | 312kb | OK | 10 |
| 3 | Depăşit | 472kb | Time limit exceeded. | 0 |
| 4 | Depăşit | 796kb | Time limit exceeded. | 0 |
| 5 | Depăşit | 648kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 840kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 752kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 784kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 812kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 800kb | Time limit exceeded. | 0 |
| Punctaj total | 20 |