Pagini recente » Cod sursa (job #2171651) | Cod sursa (job #1542207) | Cod sursa (job #2876849) | Cod sursa (job #399494) | Borderou de evaluare (job #1853670)
Borderou de evaluare (job #1853670)
Raport evaluator
Compilare:
user.cpp: In function ‘void lake_detect(int, int)’:
user.cpp:62:7: warning: variable ‘l’ set but not used [-Wunused-but-set-variable]
int l;
^
user.cpp: In function ‘int main()’:
user.cpp:83:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=]
scanf ("%d", &a[i][j]);
^
user.cpp:77:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("lacuri.in", "r", stdin);
^
user.cpp:78:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("lacuri.out", "w", stdout);
^
user.cpp:80:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &N);
^
user.cpp:83:29: 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 | 316kb | OK! | 10 |
2 | 0ms | 384kb | OK! | 10 |
3 | 0ms | 388kb | OK! | 10 |
4 | 0ms | 360kb | OK! | 10 |
5 | 0ms | 452kb | OK! | 10 |
6 | 0ms | 592kb | Numar de lacuri gresit | 0 |
7 | 0ms | 600kb | OK! | 10 |
8 | 0ms | 352kb | OK! | 10 |
9 | 0ms | 396kb | OK! | 10 |
10 | 0ms | 312kb | OK! | 10 |
Punctaj total | 90 |