Borderou de evaluare (job #1424553)

Utilizator alex_bucevschiBucevschi Alexandru alex_bucevschi Data 24 aprilie 2015 21:14:00
Problema Maxq Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 5

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:66:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d%d", &tip, &a, &b); ^ user.cpp:73:30: warning: integer overflow in expression [-Woverflow] sol = -(1ll << 63); ^ user.cpp:57:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("maxq.in", "r", stdin); ^ user.cpp:58:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("maxq.out", "w", stdout); ^ user.cpp:59:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:61:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &X[i]); ^ user.cpp:63:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &m); ^ user.cpp:66:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &tip, &a, &b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms460kbOK5
272ms524kbIncorect0
3232ms600kbIncorect0
4456ms732kbIncorect0
5Depăşit5004kbTime limit exceeded.0
6Depăşit9176kbTime limit exceeded.0
7Depăşit9252kbTime limit exceeded.0
8Depăşit9296kbTime limit exceeded.0
9Depăşit9340kbTime limit exceeded.0
10Depăşit9412kbTime limit exceeded.0
11Depăşit9176kbTime limit exceeded.0
12Depăşit9412kbTime limit exceeded.0
13Depăşit9416kbTime limit exceeded.0
14Depăşit9572kbTime limit exceeded.0
15Depăşit18304kbTime limit exceeded.0
16Depăşit18304kbTime limit exceeded.0
17Depăşit18308kbTime limit exceeded.0
18Depăşit18348kbTime limit exceeded.0
19Depăşit18380kbTime limit exceeded.0
20Depăşit18384kbTime limit exceeded.0
Punctaj total5

Ceva nu functioneaza?