Borderou de evaluare (job #1763734)

Utilizator ionanghelinaIonut Anghelina ionanghelina Data 24 septembrie 2016 15:53:21
Problema Nodiv Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:13:22: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=] scanf("%u",&x); ^ user.cpp:8:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("nodiv.in","r",stdin); ^ user.cpp:9:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("nodiv.out","w",stdout); ^ user.cpp:10:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&t); ^ user.cpp:13:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%u",&x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
120ms1208kbOK!10
228ms1212kbOK!10
328ms1208kbOK!10
436ms1212kbOK!10
5Depăşit1164kbTime limit exceeded.0
6Depăşit1168kbTime limit exceeded.0
7Depăşit1164kbTime limit exceeded.0
8Depăşit1172kbTime limit exceeded.0
9Depăşit1168kbTime limit exceeded.0
10Depăşit1188kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?