Pagini recente » Borderou de evaluare (job #2713292) | Borderou de evaluare (job #2501528) | Borderou de evaluare (job #1632089) | Borderou de evaluare (job #26736) | Borderou de evaluare (job #1947912)
Borderou de evaluare (job #1947912)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:58:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:60:49: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=]
for(int j=1;j<=n;j++)scanf("%d",&m[i][j]);
^
user.cpp:56:35: 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:57:37: 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:58:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:60:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int j=1;j<=n;j++)scanf("%d",&m[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 308kb | OK! | 10 |
2 | 0ms | 336kb | OK! | 10 |
3 | 0ms | 328kb | OK! | 10 |
4 | 0ms | 316kb | OK! | 10 |
5 | 0ms | 468kb | Drum gresit | 3 |
6 | 0ms | 612kb | OK! | 10 |
7 | 0ms | 608kb | Numar de lacuri gresit | 0 |
8 | 0ms | 320kb | OK! | 10 |
9 | 0ms | 356kb | Drum gresit | 3 |
10 | 0ms | 308kb | OK! | 10 |
Punctaj total | 76 |