Borderou de evaluare (job #2479251)

Utilizator FunnyStockyMihnea Andreescu FunnyStocky Data 23 octombrie 2019 16:48:17
Problema Inundatii Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 40

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:11:23: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=] scanf("%d", &n); ^ main.cpp:15:45: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=] scanf("%d %d %d", &a, &b, &c); ^ main.cpp:15:45: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] main.cpp:15:45: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=] main.cpp:8:45: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("inundatii.in", "r", stdin); ^ main.cpp:9:47: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("inundatii.out", "w", stdout); ^ main.cpp:11:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp:15:46: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &a, &b, &c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
22ms131kbOK10
33ms131kbOK10
412ms131kbIncorect0
518ms131kbIncorect0
635ms131kbIncorect0
742ms131kbIncorect0
849ms131kbIncorect0
952ms131kbIncorect0
102ms131kbOK10
Punctaj total40

Ceva nu functioneaza?