Pagini recente » Borderou de evaluare (job #1578162) | Borderou de evaluare (job #2256029) | Borderou de evaluare (job #348843) | Borderou de evaluare (job #1501630) | Borderou de evaluare (job #1629979)
Borderou de evaluare (job #1629979)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("brazi.in","r",stdin);
^
user.cpp:24:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("brazi.out","w",stdout);
^
user.cpp:27:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (scanf("%d\n,&n",&t);t;t--){
^
user.cpp:28:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:31:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d\n",&x,&y,&poz);
^
user.cpp:16:51: warning: ‘rad’ may be used uninitialized in this function [-Wmaybe-uninitialized]
cod=cod*10+1LL*1*(v[nod][0]!=0)+1LL*2*(v[nod][1]!=0);
^
user.cpp:26:24: note: ‘rad’ was declared here
int n,nr=0,x,y,poz,rad,t;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 460ms | 9204kb | OK | 100 |
Punctaj total | 100 |