Pagini recente » Borderou de evaluare (job #839266) | Borderou de evaluare (job #1190119) | Borderou de evaluare (job #2595968) | Borderou de evaluare (job #996731) | Borderou de evaluare (job #2325204)
Borderou de evaluare (job #2325204)
Raport evaluator
Compilare:
main.cpp: In function 'int suma_elicop(int, int, int, int, int)':
main.cpp:10:20: warning: variable 'k' set but not used [-Wunused-but-set-variable]
int i, j, s=0, k;
^
main.cpp: In function 'int main()':
main.cpp:56:33: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'bool*' [-Wformat=]
scanf("%d", &a[i][j]);
^
main.cpp:49:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("elicop.in", "r", stdin);
^
main.cpp:50:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("elicop.out", "w", stdout);
^
main.cpp:52:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
main.cpp:56:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i][j]);
^
main.cpp:58:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &c);
^
main.cpp:62:52: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d%d", &l1, &c1, &l2, &c2, &d);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Like a boss ! | 10 |
2 | 2ms | 131kb | Like a boss ! | 10 |
3 | 2ms | 131kb | Like a boss ! | 10 |
4 | 2ms | 131kb | Like a boss ! | 10 |
5 | 2ms | 131kb | Like a boss ! | 10 |
6 | 2ms | 131kb | Like a boss ! | 10 |
7 | 4ms | 131kb | Like a boss ! | 10 |
8 | 4ms | 131kb | Like a boss ! | 10 |
9 | 4ms | 131kb | Like a boss ! | 10 |
10 | 4ms | 131kb | Like a boss ! | 10 |
Punctaj total | 100 |