Borderou de evaluare (job #1447852)

Utilizator geniucosOncescu Costin geniucos Data 5 iunie 2015 16:56:17
Problema Ksecv4 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:70:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("ksecv4.in", "r", stdin); ^ user.cpp:71:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("ksecv4.out", "w", stdout); ^ user.cpp:73:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d %d", &N, &K, &M); ^ user.cpp:75:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%lld", &A[i]); ^ user.cpp:77:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%lld", &B[i]); ^ user.cpp: In function ‘bool ok(long long int)’: user.cpp:48:5: warning: ‘ras’ may be used uninitialized in this function [-Wmaybe-uninitialized] for (int i=1; i<=N; i++) ^ user.cpp: In function ‘int main()’: user.cpp:94:24: warning: ‘ras’ may be used uninitialized in this function [-Wmaybe-uninitialized] printf ("%lld\n", (ras + 1) / 2); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms312kbOK10
2Depăşit5168kbTime limit exceeded.0
3Depăşit5172kbTime limit exceeded.0
4144ms40896kbOK10
5148ms40900kbOK10
6Depăşit40868kbTime limit exceeded.0
7Depăşit40876kbTime limit exceeded.0
8Depăşit40876kbTime limit exceeded.0
9Depăşit40868kbTime limit exceeded.0
100ms296kbOK10
Punctaj total40

Ceva nu functioneaza?