Borderou de evaluare (job #1411068)

Utilizator gapdanPopescu George gapdan Data 31 martie 2015 13:50:05
Problema Galagie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:14:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] for(int i = 1;i <= n; ++i) scanf("%d",&v[i]); ^ user.cpp:11:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("galagie.in","r",stdin); ^ user.cpp:12:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("galagie.out","w",stdout); ^ user.cpp:13:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:14:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(int i = 1;i <= n; ++i) scanf("%d",&v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms284kbOK10
20ms300kbIncorect0
30ms308kbIncorect0
420ms1340kbIncorect0
520ms1512kbIncorect0
628ms1744kbIncorect0
744ms2452kbIncorect0
844ms2512kbIncorect0
952ms2584kbIncorect0
1056ms2620kbIncorect0
Punctaj total10

Ceva nu functioneaza?