Pagini recente » Borderou de evaluare (job #43349) | Borderou de evaluare (job #579558) | Borderou de evaluare (job #147059) | Borderou de evaluare (job #2394209) | Borderou de evaluare (job #1947925)
Borderou de evaluare (job #1947925)
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 | 300kb | OK! | 10 |
2 | 0ms | 328kb | OK! | 10 |
3 | 0ms | 324kb | OK! | 10 |
4 | 0ms | 316kb | OK! | 10 |
5 | 0ms | 468kb | OK! | 10 |
6 | 0ms | 604kb | OK! | 10 |
7 | 0ms | 600kb | Numar de lacuri gresit | 0 |
8 | 0ms | 320kb | OK! | 10 |
9 | 0ms | 360kb | OK! | 10 |
10 | 0ms | 300kb | OK! | 10 |
Punctaj total | 90 |