Pagini recente » Borderou de evaluare (job #1048646) | Borderou de evaluare (job #1862989) | Borderou de evaluare (job #1173367) | Borderou de evaluare (job #3239000) | Borderou de evaluare (job #2337083)
Borderou de evaluare (job #2337083)
Raport evaluator
Compilare:
main.cpp: In function 'void roy(int)':
main.cpp:26:27: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if(a[(k-1)%2][i][j]==a[(k-1)%2][i][k]+a[(k-1)%2][k][j])
^
main.cpp: In function 'int main()':
main.cpp:42:31: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("rf.in","r",stdin);
^
main.cpp:43:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("rf.out","w",stdout);
^
main.cpp:44:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:48:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[0][i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 5 |
2 | 2ms | 131kb | OK | 5 |
3 | 2ms | 131kb | OK | 5 |
4 | 2ms | 131kb | OK | 5 |
5 | 7ms | 393kb | OK | 5 |
6 | 7ms | 393kb | OK | 5 |
7 | 25ms | 786kb | OK | 5 |
8 | 25ms | 786kb | OK | 5 |
9 | 25ms | 786kb | OK | 5 |
10 | 25ms | 786kb | OK | 5 |
11 | 128ms | 1572kb | OK | 5 |
12 | 130ms | 1703kb | OK | 5 |
13 | 123ms | 1572kb | OK | 5 |
14 | 106ms | 1572kb | OK | 5 |
15 | 132ms | 1572kb | OK | 5 |
16 | 134ms | 1572kb | OK | 5 |
17 | 108ms | 1572kb | OK | 5 |
18 | 135ms | 1572kb | OK | 5 |
19 | 135ms | 1703kb | OK | 5 |
20 | 117ms | 1572kb | OK | 5 |
Punctaj total | 100 |