Pagini recente » Borderou de evaluare (job #2947316) | Cod sursa (job #66248) | Borderou de evaluare (job #1804818) | Borderou de evaluare (job #1031804) | Borderou de evaluare (job #1807048)
Borderou de evaluare (job #1807048)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:70:20: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%hd ",&n);
^
user.cpp:68: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:69: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:70:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd ",&n);
^
user.cpp:73:33: 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 | 312kb | OK! | 10 |
2 | 0ms | 364kb | OK! | 10 |
3 | 0ms | 360kb | OK! | 10 |
4 | 0ms | 344kb | OK! | 10 |
5 | 0ms | 424kb | OK! | 10 |
6 | 0ms | 384kb | OK! | 10 |
7 | 0ms | 384kb | OK! | 10 |
8 | 0ms | 340kb | OK! | 10 |
9 | 0ms | 380kb | OK! | 10 |
10 | 0ms | 316kb | OK! | 10 |
Punctaj total | 100 |