Borderou de evaluare (job #1521038)

Utilizator codi22FMI Condrea Florin codi22 Data 9 noiembrie 2015 20:43:19
Problema Melodii Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

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 ‘int*’ [-Wformat=] scanf("%li %li",&t,&r); ^ user.cpp:9:26: warning: format ‘%li’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:12:23: warning: format ‘%li’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%li",&z); ^ 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",&t,&r); ^ user.cpp:12:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%li",&z); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms424kbOK5
20ms424kbOK5
30ms424kbOK5
40ms424kbOK5
50ms424kbOK5
60ms424kbOK5
7Depăşit416kbTime limit exceeded.0
8Depăşit408kbTime limit exceeded.0
9Depăşit412kbTime limit exceeded.0
10Depăşit416kbTime limit exceeded.0
11Depăşit396kbTime limit exceeded.0
12Depăşit392kbTime limit exceeded.0
13Depăşit392kbTime limit exceeded.0
14Depăşit412kbTime limit exceeded.0
15Depăşit392kbTime limit exceeded.0
16Depăşit392kbTime limit exceeded.0
17Depăşit396kbTime limit exceeded.0
18Depăşit388kbTime limit exceeded.0
19Depăşit388kbTime limit exceeded.0
20Depăşit388kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?