Borderou de evaluare (job #1614001)

Utilizator SmarandaMaria Pandele Smaranda Data 25 februarie 2016 19:09:33
Problema Sakura Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int dp(int, int)’: user.cpp:103:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (ans == a1 [x].size ()) ^ user.cpp:60:9: warning: unused variable ‘i’ [-Wunused-variable] int i, ans = 0, flag, k1, k2, csemn; ^ user.cpp:60:27: warning: variable ‘k1’ set but not used [-Wunused-but-set-variable] int i, ans = 0, flag, k1, k2, csemn; ^ user.cpp:60:31: warning: variable ‘k2’ set but not used [-Wunused-but-set-variable] int i, ans = 0, flag, k1, k2, csemn; ^ user.cpp:60:35: warning: unused variable ‘csemn’ [-Wunused-variable] int i, ans = 0, flag, k1, k2, csemn; ^ user.cpp: In function ‘void solve()’: user.cpp:134:14: warning: unused variable ‘i’ [-Wunused-variable] int ans, i, j; ^ user.cpp:134:17: warning: unused variable ‘j’ [-Wunused-variable] int ans, i, j; ^ user.cpp: In function ‘void read()’: user.cpp:17:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &m); ^ user.cpp:19:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d", &x, &y); ^ user.cpp:24:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &n); ^ user.cpp:26:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d", &x, &y); ^ user.cpp: In function ‘int main()’: user.cpp:171:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("sakura.in", "r", stdin); ^ user.cpp:172:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("sakura.out", "w", stdout); ^ user.cpp:174:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &T); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1324kbOK10
20ms1328kbOK10
34ms1392kbOK10
44ms1380kbOK10
54ms1376kbOK10
64ms1380kbOK10
764ms2324kbOK10
880ms2312kbOK10
972ms2324kbOK10
1076ms2348kbOK10
Punctaj total100

Ceva nu functioneaza?