Borderou de evaluare (job #2123543)

Utilizator patcasrarespatcas rares danut patcasrares Data 6 februarie 2018 12:51:12
Problema Branza Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:44:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d%d",&n,&s,&t); ^ user.cpp:44:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:44:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:47:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d",&c,&p); ^ user.cpp:47:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:42:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("branza.in","r",stdin); ^ user.cpp:43:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("branza.out","w",stdout); ^ user.cpp:44:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&n,&s,&t); ^ user.cpp:47:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&c,&p); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms3304kbOK1030
20ms3312kbOK10
34ms3368kbOK10
472ms5508kbOK1030
5136ms6432kbOK10
6144ms6428kbOK10
7Depăşit6372kbTime limit exceeded.00
8Depăşit6344kbTime limit exceeded.00
9Depăşit6368kbTime limit exceeded.00
10Depăşit6368kbTime limit exceeded.00
Punctaj total60

Ceva nu functioneaza?