Pagini recente » Borderou de evaluare (job #1856466) | Borderou de evaluare (job #1102381) | Borderou de evaluare (job #1861177) | Borderou de evaluare (job #2812080) | Borderou de evaluare (job #2047027)
Borderou de evaluare (job #2047027)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:9: warning: unused variable ‘cnt2’ [-Wunused-variable]
int m,i,cnt2=0,poz,nr;
^
user.cpp: In function ‘int check(int)’:
user.cpp:11:11: warning: control reaches end of non-void function [-Wreturn-type]
f[poz]=0;}}
^
user.cpp: In function ‘int main()’:
user.cpp:13:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pinball.in","r",stdin);
^
user.cpp:14:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pinball.out","w",stdout);
^
user.cpp:16:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:18:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:27:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:29:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&poz,&nr);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1324ms | 8084kb | OK | 100 |
Punctaj total | 100 |