Borderou de evaluare (job #2268646)

Utilizator alex2kamebossPuscasu Alexandru alex2kameboss Data 25 octombrie 2018 08:41:06
Problema Branza Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:54:35: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=] scanf("%d %d %d\n", &n, &s, &t); ^ main.cpp:54:35: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] main.cpp:54:35: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=] main.cpp:51: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); ^ main.cpp:52: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); ^ main.cpp:54:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d\n", &n, &s, &t); ^ main.cpp:58:42: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lld %d\n", &b.pret, &b.c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbOK1030
23ms131kbOK10
35ms131kbOK10
441ms131kbOK1030
564ms131kbOK10
672ms131kbOK10
774ms131kbOK1010
875ms131kbOK1010
978ms131kbOK1010
1075ms131kbOK1010
Punctaj total100

Ceva nu functioneaza?