Borderou de evaluare (job #1733574)

Utilizator ionanghelinaIonut Anghelina ionanghelina Data 24 iulie 2016 23:05:57
Problema Invsc Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:21:35: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=] printf("%u\n",n1-1LL*1); ^ user.cpp:27:29: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=] printf("%u\n",n1<<=1); ^ user.cpp:7:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("invsc.in","r",stdin); ^ user.cpp:8:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("invsc.out","w",stdout); ^ user.cpp:9:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:12:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms432kbTine-o tot asa!10
20ms436kbRaspuns gresit0
30ms432kbRaspuns gresit0
40ms436kbRaspuns gresit0
50ms436kbRaspuns gresit0
64ms476kbRaspuns gresit0
712ms556kbRaspuns gresit0
840ms788kbTine-o tot asa!10
960ms984kbTine-o tot asa!10
1088ms1212kbRaspuns gresit0
Punctaj total30

Ceva nu functioneaza?