Borderou de evaluare (job #2020026)

Utilizator ialexia_ioanaAlexia Ichim ialexia_ioana Data 9 septembrie 2017 12:03:19
Problema Numarare triunghiuri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int BS(int, int)’: user.cpp:14:7: warning: statement has no effect [-Wunused-value] dr+n; ^ user.cpp:12:9: warning: variable ‘st’ set but not used [-Wunused-but-set-variable] int st, dr, val, s; ^ user.cpp:12:17: warning: unused variable ‘val’ [-Wunused-variable] int st, dr, val, s; ^ user.cpp: In function ‘int main()’: user.cpp:31:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<v.size()-2;i++) ^ user.cpp:33:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=i+1;j<v.size()-1;j++) ^ user.cpp:21:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("nrtri.in", "r", stdin); ^ user.cpp:22:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("nrtri.out", "w", stdout); ^ user.cpp:24:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" ,&n); ^ user.cpp:27:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbOK5
20ms272kbOK5
30ms272kbOK5
40ms264kbOK5
50ms268kbOK5
60ms264kbOK5
70ms268kbOK5
80ms264kbOK5
90ms268kbOK5
100ms264kbOK5
110ms272kbOK5
120ms264kbOK5
130ms268kbOK5
140ms268kbOK5
158ms272kbOK5
168ms280kbOK5
1712ms280kbOK5
1812ms272kbOK5
1912ms276kbOK5
2016ms272kbOK5
Punctaj total100

Ceva nu functioneaza?