Pagini recente » Borderou de evaluare (job #693078) | Borderou de evaluare (job #2091954) | Borderou de evaluare (job #1679599) | Borderou de evaluare (job #390162) | Borderou de evaluare (job #1393969)
Borderou de evaluare (job #1393969)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:69:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=]
for(i=1;i<=n;++i) scanf("%d",&reincarc[i]);
^
user.cpp:66: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:67: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:68:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&k);
^
user.cpp:69:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;++i) scanf("%d",&reincarc[i]);
^
user.cpp:70:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:74:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&x,&y);
^
user.cpp:75:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&o.T,&o.W);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 708kb | OK | 10 |
2 | 4ms | 724kb | OK | 10 |
3 | 0ms | 692kb | OK | 10 |
4 | 12ms | 732kb | OK | 10 |
5 | 0ms | 716kb | OK | 10 |
6 | 28ms | 784kb | OK | 10 |
7 | 32ms | 724kb | OK | 10 |
8 | 0ms | 696kb | OK | 10 |
9 | 0ms | 336kb | OK | 10 |
10 | 4ms | 692kb | OK | 10 |
Punctaj total | 100 |