Borderou de evaluare (job #1739291)

Utilizator ionanghelinaIonut Anghelina ionanghelina Data 9 august 2016 10:47:44
Problema Peri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:17:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d%d",&n,&m); ^ user.cpp:17:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:15:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("peri.in","r",stdin); ^ user.cpp:16:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("peri.out","w",stdout); ^ user.cpp:17:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&m); ^ user.cpp:21:32: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(buff,1,VALOARE,stdin); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms316kbKilled by signal 6(SIGABRT).0
20ms320kbKilled by signal 6(SIGABRT).0
30ms320kbKilled by signal 6(SIGABRT).0
40ms324kbKilled by signal 6(SIGABRT).0
50ms324kbKilled by signal 6(SIGABRT).0
60ms316kbKilled by signal 6(SIGABRT).0
70ms324kbKilled by signal 6(SIGABRT).0
80ms320kbKilled by signal 6(SIGABRT).0
90ms324kbKilled by signal 6(SIGABRT).0
100ms324kbKilled by signal 6(SIGABRT).0
Punctaj total0

Ceva nu functioneaza?