Borderou de evaluare (job #1614778)

Utilizator serban_ioan97Ciofu Serban serban_ioan97 Data 26 februarie 2016 09:18:07
Problema Tarabe Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:29:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d", &n, &k); ^ user.cpp:29:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:32:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d", &b[i], &a[i]); ^ user.cpp:32:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:26:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("tarabe.in", "rt", stdin); ^ user.cpp:27:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("tarabe.out", "wt", stdout); ^ user.cpp:29:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &k); ^ user.cpp:32:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &b[i], &a[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbOK10
20ms280kbOK10
312ms504kbOK10
448ms1208kbOK10
564ms1528kbOK10
688ms1836kbOK10
7312ms3392kbOK10
8324ms3392kbOK10
9352ms3388kbOK10
10376ms3388kbOK10
Punctaj total100

Ceva nu functioneaza?