Pagini recente » Borderou de evaluare (job #2370265) | Borderou de evaluare (job #2953025) | Borderou de evaluare (job #3179583) | Borderou de evaluare (job #1999438) | Borderou de evaluare (job #1607634)
Borderou de evaluare (job #1607634)
Raport evaluator
Compilare:
user.cpp: In function ‘int cmpPX(Point, Point)’:
user.cpp:57: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:75:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i < v.size(); ++i){
^
user.cpp:90: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:33:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:35: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:139: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:140: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 | OK! | 10 |
| 2 | 0ms | 472kb | OK! | 10 |
| 3 | 0ms | 472kb | A treia valoare gresita! | 7 |
| 4 | 0ms | 476kb | Ultimele doua valori gresite! | 2 |
| 5 | 0ms | 484kb | OK! | 10 |
| 6 | 0ms | 504kb | OK! | 10 |
| 7 | 0ms | 508kb | OK! | 10 |
| 8 | 0ms | 516kb | OK! | 10 |
| 9 | 0ms | 520kb | OK! | 10 |
| 10 | 0ms | 464kb | OK! | 10 |
| Punctaj total | 89 |