Pagini recente » Borderou de evaluare (job #1833925) | Borderou de evaluare (job #2549353) | Borderou de evaluare (job #1213012) | Borderou de evaluare (job #2859382) | Borderou de evaluare (job #2413385)
Borderou de evaluare (job #2413385)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:79:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (i == 1 && a[i][poz] == 1 || i > 1 && a[i][poz] == 0 && a[i + 1][poz] == 1)
~~~~~~~^~~~~~~~~~~~~~~~~
main.cpp:84:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (l > lmax || l == lmax && i < dr){
~~~~~~~~~~^~~~~~~~~
main.cpp:13:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("mirror.in", "r", stdin);
^
main.cpp:14:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("mirror.out", "w", stdout);
^
main.cpp:18:39: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d%d", &cerinta, &n, &k);
^
main.cpp:23:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &nr);
^
main.cpp:47:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &nr);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 3ms | 131kb | OK | 10 |
| 3 | 3ms | 131kb | OK | 10 |
| 4 | 7ms | 786kb | OK | 10 |
| 5 | 14ms | 1441kb | OK | 10 |
| 6 | 231ms | 9437kb | OK | 10 |
| 7 | 42ms | 3145kb | OK | 10 |
| 8 | 171ms | 12713kb | OK | 10 |
| 9 | 114ms | 10354kb | OK | 10 |
| 10 | 2ms | 131kb | OK | 10 |
| Punctaj total | 100 |