Pagini recente » Borderou de evaluare (job #2616249) | Borderou de evaluare (job #1148557) | Borderou de evaluare (job #1737491) | Borderou de evaluare (job #94492) | Borderou de evaluare (job #1491892)
Borderou de evaluare (job #1491892)
Raport evaluator
Compilare:
user.cpp: In function ‘int getCode(int)’:
user.cpp:119:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < sons.size(); ++ i) {
^
user.cpp: In function ‘bool sameCenters()’:
user.cpp:130:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < centers.size(); ++ i) {
^
user.cpp:133:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i < centers.size() - 1 && nr[centers[i]] == nr[centers[i + 1]]) {
^
user.cpp:143:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < codes.size() - 1; ++ i)
^
user.cpp: In function ‘int main()’:
user.cpp:157:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("divizori2.in", "r", stdin);
^
user.cpp:158:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("divizori2.out", "w", stdout);
^
user.cpp:161:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:163:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 4ms | 2060kb | Incorect | 0 | 0 |
2 | 28ms | 2092kb | Incorect | 0 | 0 |
3 | 64ms | 2144kb | Incorect | 0 |
4 | 36ms | 2120kb | Incorect | 0 |
5 | 84ms | 2168kb | Incorect | 0 |
6 | 136ms | 2276kb | Incorect | 0 | 0 |
7 | Depăşit | 4104kb | Time limit exceeded. | 0 |
8 | Depăşit | 4048kb | Time limit exceeded. | 0 |
9 | Depăşit | 5152kb | Time limit exceeded. | 0 | 0 |
10 | Depăşit | 6208kb | Time limit exceeded. | 0 |
Punctaj total | 0 |