Pagini recente » Borderou de evaluare (job #410405) | Borderou de evaluare (job #1947851) | Borderou de evaluare (job #1535758) | Cod sursa (job #80958) | Borderou de evaluare (job #2450365)
Borderou de evaluare (job #2450365)
Raport evaluator
Compilare:
main.cpp: In function 'int calc(int)':
main.cpp:16:38: warning: no return statement in function returning non-void [-Wreturn-type]
dp[i][k]=(dp[i][k]+dp[i-1][k2])%mod;}}
^
main.cpp: In function 'int main()':
main.cpp:18:31: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("lucky7.in","r",stdin);
^
main.cpp:19:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("lucky7.out","w",stdout);
^
main.cpp:21:25: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(ch+1,100003,stdin);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 5 |
| 2 | 55ms | 3145kb | OK | 5 |
| 3 | 98ms | 5505kb | OK | 5 |
| 4 | 127ms | 4849kb | OK | 5 |
| 5 | 126ms | 4456kb | OK | 5 |
| 6 | 104ms | 3670kb | OK | 5 |
| 7 | 139ms | 4849kb | OK | 5 |
| 8 | 103ms | 3670kb | OK | 5 |
| 9 | 112ms | 4194kb | OK | 5 |
| 10 | 91ms | 3145kb | OK | 5 |
| 11 | 135ms | 4718kb | OK | 5 |
| 12 | 150ms | 5767kb | OK | 5 |
| 13 | 119ms | 4194kb | OK | 5 |
| 14 | 130ms | 4980kb | OK | 5 |
| 15 | 164ms | 5767kb | OK | 5 |
| 16 | 107ms | 3801kb | OK | 5 |
| 17 | 131ms | 4980kb | OK | 5 |
| 18 | 159ms | 5373kb | OK | 5 |
| 19 | 107ms | 3801kb | OK | 5 |
| 20 | 2ms | 131kb | OK | 5 |
| Punctaj total | 100 |