Pagini recente » Borderou de evaluare (job #1339139) | Cod sursa (job #914744) | joc6 | Cod sursa (job #855250) | Borderou de evaluare (job #2417123)
Borderou de evaluare (job #2417123)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:30:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=1;i<=n;++i)
^~~
main.cpp:33:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
return 0;
^~~~~~
main.cpp:11:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("bemo.in","r",stdin);
^
main.cpp:12:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("bemo.out","w",stdout);
^
main.cpp:13:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
main.cpp:15:44: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(j=1;j<=m;++j) {scanf("%d",&a[i][j]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 393kb | OK | 10 |
| 2 | 16ms | 1310kb | OK | 10 |
| 3 | 47ms | 2883kb | OK | 10 |
| 4 | 186ms | 7733kb | OK | 10 |
| 5 | 474ms | 14155kb | OK | 10 |
| 6 | 596ms | 18087kb | OK | 10 |
| 7 | 761ms | 21495kb | OK | 10 |
| 8 | 929ms | 26083kb | OK | 10 |
| 9 | 940ms | 26869kb | OK | 10 |
| 10 | 992ms | 27262kb | OK | 10 |
| Punctaj total | 100 |