Pagini recente » Borderou de evaluare (job #2422336) | Borderou de evaluare (job #1218373) | Borderou de evaluare (job #333493) | Borderou de evaluare (job #1210117) | Borderou de evaluare (job #1465667)
Borderou de evaluare (job #1465667)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:27: warning: null argument where non-null required (argument 1) [-Wnonnull]
if (total==0) { puts(0); continue; }
^
user.cpp:22:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cpal.in","r",stdin);
^
user.cpp:23:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cpal.out","w",stdout);
^
user.cpp:26:59: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (int j=1;j<=9;j++) scanf("%d",&fr[j]),total+=fr[j];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 392kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |