Borderou de evaluare (job #2293123)

Utilizator rares404AlShaytan - Balasescu Rares rares404 Data 30 noiembrie 2018 16:11:41
Problema Carnati Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 90

Raport evaluator

Compilare: main.cpp: In function 'int32_t main()': main.cpp:27:26: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=] scanf("%d %d", &n, &c) ; ^ main.cpp:27:26: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] main.cpp:29:40: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=] scanf("%d %d", &v[i].x, &v[i].y) ; ^ main.cpp:29:40: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] main.cpp:33:21: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] printf("%d", ans) ; ^ main.cpp:24:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("carnati.in", "r", stdin) ; ^ main.cpp:25:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("carnati.out", "w", stdout) ; ^ main.cpp:27:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &c) ; ^ main.cpp:29:42: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &v[i].x, &v[i].y) ; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
22ms131kbOK10
33ms131kbOK10
44ms131kbOK10
511ms131kbOK10
611ms131kbOK10
711ms131kbOK10
842ms131kbOK10
942ms131kbIncorect0
1042ms131kbOK10
Punctaj total90

Ceva nu functioneaza?