Pagini recente » Borderou de evaluare (job #177786) | Borderou de evaluare (job #1279537) | Borderou de evaluare (job #1404777) | Borderou de evaluare (job #727222) | Borderou de evaluare (job #1485932)
Borderou de evaluare (job #1485932)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aprindere.in","r",stdin);
^
user.cpp:8:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aprindere.out","w",stdout);
^
user.cpp:9:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
user.cpp:10:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=0;i<n;i++) {scanf("%d",&x);if(x==0) w[i]=false;else w[i]=true;}
^
user.cpp:13:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&x,&y,&z);
^
user.cpp:14:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
if(!w[x]){t+=y;for(j=0;j<z;j++){scanf("%d",&c);w[c]=!w[c];}}
^
user.cpp:15:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
else for(j=0;j<z;j++) scanf("%d",&c);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 260kb | OK | 5 |
| 2 | 0ms | 260kb | OK | 5 |
| 3 | 0ms | 260kb | OK | 5 |
| 4 | 0ms | 260kb | OK | 5 |
| 5 | 0ms | 264kb | OK | 5 |
| 6 | 0ms | 260kb | OK | 5 |
| 7 | 0ms | 260kb | OK | 5 |
| 8 | 0ms | 260kb | OK | 5 |
| 9 | 0ms | 260kb | OK | 5 |
| 10 | 0ms | 264kb | OK | 5 |
| 11 | 0ms | 260kb | OK | 5 |
| 12 | 0ms | 260kb | OK | 5 |
| 13 | 0ms | 264kb | OK | 5 |
| 14 | 0ms | 260kb | OK | 5 |
| 15 | 0ms | 256kb | OK | 5 |
| 16 | 0ms | 260kb | OK | 5 |
| 17 | 12ms | 264kb | OK | 5 |
| 18 | 0ms | 264kb | OK | 5 |
| 19 | 0ms | 260kb | OK | 5 |
| 20 | 0ms | 256kb | OK | 5 |
| Punctaj total | 100 |