Pagini recente » Borderou de evaluare (job #3183027) | Borderou de evaluare (job #1796059) | Borderou de evaluare (job #1796060) | Cod sursa (job #1751474) | Borderou de evaluare (job #1568289)
Borderou de evaluare (job #1568289)
Raport evaluator
Compilare:
user.cpp: In function ‘long long int solve(int, int)’:
user.cpp:29:9: warning: unused variable ‘i’ [-Wunused-variable]
int i, ptr = 0, best = 0;
^
user.cpp:29:21: warning: unused variable ‘best’ [-Wunused-variable]
int i, ptr = 0, best = 0;
^
user.cpp: In function ‘bool good(int)’:
user.cpp:24:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:51:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv5.in", "r", stdin);
^
user.cpp:52:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv5.out", "w", stdout);
^
user.cpp:55:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &p, &u);
^
user.cpp:57:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%u", &x[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 456kb | OK | 10 |
| 2 | 4ms | 484kb | OK | 10 |
| 3 | 16ms | 624kb | OK | 10 |
| 4 | 88ms | 1048kb | OK | 10 |
| 5 | 72ms | 1060kb | OK | 10 |
| 6 | 348ms | 3692kb | OK | 10 |
| 7 | 808ms | 5276kb | OK | 10 |
| 8 | 984ms | 5536kb | OK | 10 |
| 9 | Depăşit | 13112kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 21336kb | Time limit exceeded. | 0 |
| Punctaj total | 80 |