Pagini recente » Cod sursa (job #457465) | Cod sursa (job #29928) | Cod sursa (job #85339) | Cod sursa (job #603899) | Borderou de evaluare (job #1555606)
Borderou de evaluare (job #1555606)
Raport evaluator
Compilare:
user.cpp: In function ‘void sol()’:
user.cpp:11:9: warning: unused variable ‘nr’ [-Wunused-variable]
int nr, x, sol1 = 0, sol2 = 0;
^
user.cpp:11:13: warning: unused variable ‘x’ [-Wunused-variable]
int nr, x, sol1 = 0, sol2 = 0;
^
user.cpp:11:16: warning: unused variable ‘sol1’ [-Wunused-variable]
int nr, x, sol1 = 0, sol2 = 0;
^
user.cpp: In function ‘int main()’:
user.cpp:49:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("livada.in","r",stdin);
^
user.cpp:50:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("livada.out","w",stdout);
^
user.cpp:52:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d\n", &M, &N, &k);
^
user.cpp:56:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &a[i][j]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 484kb | OK! | 10 |
| 2 | 0ms | 492kb | OK! | 10 |
| 3 | 28ms | 1232kb | OK! | 10 |
| 4 | 64ms | 1624kb | OK! | 10 |
| 5 | 132ms | 2412kb | OK! | 10 |
| 6 | 236ms | 3444kb | OK! | 10 |
| 7 | 228ms | 3448kb | OK! | 10 |
| 8 | 232ms | 3200kb | OK! | 10 |
| 9 | 232ms | 3588kb | OK! | 10 |
| 10 | 244ms | 3184kb | OK! | 10 |
| Punctaj total | 100 |