Borderou de evaluare (job #1794360)

Utilizator AlexNiuclaeNiculae Alexandru Vlad AlexNiuclae Data 1 noiembrie 2016 11:14:35
Problema Harbingers Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void print_answer()’: user.cpp:130:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d ", dp[i]); ^ user.cpp:131:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n", dp[n]); ^ user.cpp: In function ‘void read_input()’: user.cpp:44:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("harbingers.in","r",stdin); ^ user.cpp:46:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:49:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &x, &y, &z); ^ user.cpp:56:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &S[i], &V[i]); ^ user.cpp: In function ‘void print_answer()’: user.cpp:127:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("harbingers.out","w",stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms2412kbIncorect0
28ms2688kbIncorect0
396ms6732kbIncorect0
4148ms8908kbIncorect0
5216ms11072kbIncorect0
6260ms13224kbIncorect0
7156ms7144kbIncorect0
8244ms9284kbIncorect0
9236ms10368kbIncorect0
10220ms9708kbIncorect0
Punctaj total0

Ceva nu functioneaza?