Pagini recente » Borderou de evaluare (job #345793) | Borderou de evaluare (job #1242102) | Borderou de evaluare (job #3149165) | Borderou de evaluare (job #2179002) | Borderou de evaluare (job #1784018)
Borderou de evaluare (job #1784018)
Raport evaluator
Compilare:
user.cpp: In function ‘int buildPoly(coord, coord, int)’:
user.cpp:67:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < poly.size(); i++)
^
user.cpp:71:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i < s2.size()-1; i++)
^
user.cpp:75:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < poly.size(); i++)
^
user.cpp: In function ‘int arie()’:
user.cpp:86:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < poly.size()-1; i++)
^
user.cpp: In function ‘void solve()’:
user.cpp:116:43: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if (dif < best || dif == best && better()) {
^
user.cpp: In function ‘void read()’:
user.cpp:32:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:34:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &a[i].x, &a[i].y);
^
user.cpp: In function ‘int better()’:
user.cpp:100:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:128:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("gradina.in", "r", stdin);
^
user.cpp:129:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("gradina.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 460kb | Okay | 10 |
2 | 4ms | 456kb | Okay | 10 |
3 | 144ms | 472kb | Okay | 10 |
4 | 456ms | 472kb | Okay | 10 |
5 | 140ms | 468kb | Okay | 10 |
6 | 64ms | 464kb | Okay | 10 |
7 | 392ms | 468kb | Okay | 10 |
8 | 0ms | 404kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 304ms | 480kb | Okay | 10 |
10 | 464ms | 468kb | Okay | 10 |
Punctaj total | 90 |