Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2204530)
| Utilizator | Data | 16 mai 2018 12:04:02 | |
|---|---|---|---|
| Problema | Hanoi4 | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g,"%d",dp[N][4]);
^
user.cpp:28:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&N);
^
user.cpp:18:18: warning: iteration 1004 invokes undefined behavior [-Waggressive-loop-optimizations]
dp[i][2] = (i == 1 ? 1 : LIM);
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
user.cpp:14:21: note: within this loop
for(int i = 1;i <= 1005;i++){
~~^~~~~~~
user.cpp:21:27: warning: iteration 2 invokes undefined behavior [-Waggressive-loop-optimizations]
if(dp[i][j] > dp[k][j] * 2 + dp[i - k][j - 1]){
~~~~~~~^
user.cpp:19:25: note: within this loop
for(int j = 3;j <= 65;j++){
~~^~~~~
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 176ms | 756kb | Killed by signal 11(SIGSEGV). | 0 |
| 2 | 176ms | 876kb | Killed by signal 11(SIGSEGV). | 0 |
| 3 | 176ms | 860kb | Killed by signal 11(SIGSEGV). | 0 |
| 4 | 180ms | 796kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 176ms | 804kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 176ms | 752kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 176ms | 868kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 176ms | 800kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 176ms | 880kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 176ms | 872kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 0 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
