Pagini recente » Borderou de evaluare (job #1690604) | Borderou de evaluare (job #2184907) | Borderou de evaluare (job #2084599) | Borderou de evaluare (job #1122234) | Borderou de evaluare (job #2218255)
Borderou de evaluare (job #2218255)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lacusta.in" , "r" , stdin);
^
user.cpp:9:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lacusta.out" , "w" , stdout);
^
user.cpp:11:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d" , &n , &m);
^
user.cpp:14:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &a[i][j]);
^
user.cpp:41:41: warning: ‘last2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
c[i][j] = c[i - 1][last2] + a[i - 1][j] + a[i][j];
~~~~~~~~~~~~~~^
user.cpp:39:41: warning: ‘last1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
c[i][j] = c[i - 1][last1] + a[i - 1][j] + a[i][j];
~~~~~~~~~~~~~~^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 4ms | 752kb | Wall time limit exceeded. | 0 | 0 |
| 2 | 4ms | 800kb | Wall time limit exceeded. | 0 |
| 3 | 0ms | 752kb | OK | 10 |
| 4 | 0ms | 932kb | OK | 10 | 30 |
| 5 | 0ms | 752kb | OK | 10 |
| 6 | 0ms | 872kb | OK | 10 |
| 7 | 0ms | 796kb | OK | 10 | 0 |
| 8 | 0ms | 808kb | OK | 10 |
| 9 | 0ms | 868kb | OK | 10 |
| 10 | 4ms | 756kb | Wall time limit exceeded. | 0 |
| Punctaj total | 30 |