Pagini recente » Borderou de evaluare (job #222955) | Borderou de evaluare (job #2880359) | Borderou de evaluare (job #2351065) | Borderou de evaluare (job #146482) | Borderou de evaluare (job #1607398)
Borderou de evaluare (job #1607398)
Raport evaluator
Compilare:
user.cpp: In function ‘int cmpPX(Point, Point)’:
user.cpp:55:56: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
return (A.x+A.r < B.x + B.r || A.x+A.r == B.x + B.r && A.r > B.r);
^
user.cpp: In function ‘void solve()’:
user.cpp:72:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i < v.size(); ++i){
^
user.cpp: In function ‘void readData()’:
user.cpp:31:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:33: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:99: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:100: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 | 444kb | OK! | 10 |
2 | 0ms | 436kb | OK! | 10 |
3 | 0ms | 436kb | Ultimele doua valori gresite! | 2 |
4 | 0ms | 448kb | A doua valoare gresita! | 5 |
5 | 0ms | 460kb | OK! | 10 |
6 | 0ms | 476kb | OK! | 10 |
7 | 0ms | 476kb | OK! | 10 |
8 | 0ms | 484kb | OK! | 10 |
9 | 0ms | 484kb | OK! | 10 |
10 | 0ms | 436kb | OK! | 10 |
Punctaj total | 87 |