Pagini recente » Borderou de evaluare (job #96989) | Borderou de evaluare (job #212636) | Borderou de evaluare (job #634309) | Borderou de evaluare (job #2543665) | Borderou de evaluare (job #1946579)
Borderou de evaluare (job #1946579)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:47:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:49: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:45: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:46: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:47:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:49: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 | 332kb | OK! | 10 |
3 | 0ms | 328kb | OK! | 10 |
4 | 0ms | 312kb | OK! | 10 |
5 | 0ms | 460kb | Drum gresit | 3 |
6 | 0ms | 604kb | OK! | 10 |
7 | 0ms | 612kb | Numar de lacuri gresit | 0 |
8 | 0ms | 312kb | OK! | 10 |
9 | 0ms | 352kb | Drum gresit | 3 |
10 | 0ms | 296kb | OK! | 10 |
Punctaj total | 76 |