Pagini recente » Borderou de evaluare (job #1819252) | Borderou de evaluare (job #46470) | Borderou de evaluare (job #1913136) | Borderou de evaluare (job #304885) | Borderou de evaluare (job #1732307)
Borderou de evaluare (job #1732307)
Raport evaluator
Compilare:
user.cpp: In function ‘void rezolvare()’:
user.cpp:82:29: warning: NULL used in arithmetic [-Wpointer-arith]
for (int j=0;a1[j]!=NULL;j++)
^
user.cpp:77:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d\n",&n,&m,&s,&d);
^
user.cpp:81:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a1);
^
user.cpp:98:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&k);
^
user.cpp:104:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&a);
^
user.cpp: In function ‘int main()’:
user.cpp:120:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tempest.in","r",stdin);
^
user.cpp:121:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tempest.out","w",stdout);
^
user.cpp:123:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&t);
^
/tmp/cccFlu3x.o: In function `rezolvare()':
user.cpp:(.text+0x1b8): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 14508kb | Time limit exceeded. | 0 |
Punctaj total | 0 |