Pagini recente » Borderou de evaluare (job #2195712) | Borderou de evaluare (job #1410297) | Borderou de evaluare (job #1501312) | Cod sursa (job #2829420) | Borderou de evaluare (job #1548214)
Borderou de evaluare (job #1548214)
Raport evaluator
Compilare:
user.cpp: In function ‘int solve(int)’:
user.cpp:48:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(p[sum] < aux[sum % k].size() && aux[sum][p[sum]] < i - nr) {
^
user.cpp: In function ‘int main()’:
user.cpp:17:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("divk.in" , "r" , stdin);
^
user.cpp:18:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("divk.out" , "w" , stdout);
^
user.cpp:22:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d" , &n , &k , &a , &b);
^
user.cpp:28:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 2228kb | OK | 10 |
| 2 | 4ms | 2240kb | OK | 10 |
| 3 | 8ms | 2400kb | OK | 10 |
| 4 | 24ms | 2700kb | OK | 10 |
| 5 | 52ms | 3296kb | OK | 10 |
| 6 | 148ms | 5804kb | OK | 10 |
| 7 | 96ms | 4304kb | OK | 10 |
| 8 | 148ms | 5012kb | OK | 10 |
| 9 | Depăşit | 7536kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 6344kb | Time limit exceeded. | 0 |
| Punctaj total | 80 |