Borderou de evaluare (job #1520823)

Utilizator codi22FMI Condrea Florin codi22 Data 9 noiembrie 2015 16:07:12
Problema Melodii Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:9:26: warning: format ‘%li’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%li %li",&n,&r); ^ user.cpp:9:26: warning: format ‘%li’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:15:23: warning: format ‘%li’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%li",&a); ^ user.cpp:7:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("melodii.in","r",stdin); ^ user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("melodii.out","w",stdout); ^ user.cpp:9:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%li %li",&n,&r); ^ user.cpp:15:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%li",&a); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms436kbIncorect0
20ms440kbIncorect0
30ms440kbIncorect0
40ms440kbIncorect0
50ms444kbIncorect0
60ms440kbIncorect0
7Depăşit420kbTime limit exceeded.0
8Depăşit400kbTime limit exceeded.0
9Depăşit420kbTime limit exceeded.0
10Depăşit424kbTime limit exceeded.0
11Depăşit404kbTime limit exceeded.0
12Depăşit404kbTime limit exceeded.0
13Depăşit400kbTime limit exceeded.0
14Depăşit428kbTime limit exceeded.0
15Depăşit396kbTime limit exceeded.0
16Depăşit400kbTime limit exceeded.0
17Depăşit400kbTime limit exceeded.0
18Depăşit400kbTime limit exceeded.0
19Depăşit400kbTime limit exceeded.0
20Depăşit396kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?