Borderou de evaluare (job #1735859)

Utilizator NicusorTelescu Nicolae Nicusor Data 31 iulie 2016 13:22:17
Problema Tempest Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void rezolvare()’: user.cpp:153:29: warning: NULL used in arithmetic [-Wpointer-arith] for (int j=0;a1[j]!=NULL;j++) ^ user.cpp:148: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:152:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a1); ^ user.cpp:169:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&k); ^ user.cpp:173: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:214: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:215: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:217:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&t); ^ /tmp/ccQss81a.o: In function `rezolvare()': user.cpp:(.text+0x4d0): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
1536ms17160kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?