Borderou de evaluare (job #1214670)

Utilizator iordache.bogdanIordache Ioan-Bogdan iordache.bogdan Data 31 iulie 2014 01:06:25
Problema K1 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:54:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf ("%d", &n); ^ user.cpp:52:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("k1.in", "r", stdin); ^ user.cpp:53:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("k1.out", "w", stdout); ^ user.cpp:54:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &n); ^ user.cpp:57:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%lld", &v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms296kbOK10
20ms292kbOK10
30ms292kbOK10
44ms532kbOK10
548ms2640kbOK10
6Depăşit9636kbTime limit exceeded.0
7Depăşit10804kbTime limit exceeded.0
8Depăşit9668kbTime limit exceeded.0
9Depăşit10156kbTime limit exceeded.0
100ms292kbOK10
Punctaj total60

Ceva nu functioneaza?