Pagini recente » Borderou de evaluare (job #894393) | Borderou de evaluare (job #254348) | Borderou de evaluare (job #741239) | Borderou de evaluare (job #1180593) | Borderou de evaluare (job #1607667)
Borderou de evaluare (job #1607667)
Raport evaluator
Compilare:
user.cpp: In function ‘int cmpENDFIRST(Point, Point)’:
user.cpp:71:69: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
dist(Point(0, 0, 0), A)+A.r == dist(Point(0, 0, 0), B)+B.r &&
^
user.cpp: In function ‘void solve()’:
user.cpp:81:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i < v.size(); ++i){
^
user.cpp:97:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 1; j < groups[i].size(); ++j){
^
user.cpp: In function ‘void readData()’:
user.cpp:37:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:39:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d\n", &x, &y, &r);
^
user.cpp: In function ‘int main()’:
user.cpp:146:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cerc3.in", "r", stdin);
^
user.cpp:147:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cerc3.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 472kb | A treia valoare gresita! | 7 |
2 | 0ms | 472kb | A treia valoare gresita! | 7 |
3 | 0ms | 480kb | A treia valoare gresita! | 7 |
4 | 0ms | 476kb | OK! | 10 |
5 | 0ms | 488kb | OK! | 10 |
6 | 0ms | 504kb | OK! | 10 |
7 | 0ms | 512kb | OK! | 10 |
8 | 0ms | 516kb | OK! | 10 |
9 | 0ms | 528kb | OK! | 10 |
10 | 0ms | 472kb | OK! | 10 |
Punctaj total | 91 |