Pagini recente » Borderou de evaluare (job #1262683) | Borderou de evaluare (job #62192) | Borderou de evaluare (job #2510155) | Borderou de evaluare (job #1655670) | Borderou de evaluare (job #2016903)
Borderou de evaluare (job #2016903)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:51:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=]
scanf("%d",&ba[i]);
^
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("lanterna.in","r",stdin);
^
user.cpp:47:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lanterna.out","w",stdout);
^
user.cpp:48:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&sf);
^
user.cpp:51:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&ba[i]);
^
user.cpp:52:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:55:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&x,&y,&z,&w);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 672kb | OK | 10 |
2 | 16ms | 788kb | OK | 10 |
3 | 0ms | 660kb | OK | 10 |
4 | 36ms | 708kb | OK | 10 |
5 | 44ms | 748kb | OK | 10 |
6 | 52ms | 748kb | OK | 10 |
7 | 52ms | 708kb | OK | 10 |
8 | 0ms | 660kb | OK | 10 |
9 | 0ms | 456kb | OK | 10 |
10 | 4ms | 664kb | OK | 10 |
Punctaj total | 100 |