Pagini recente » Borderou de evaluare (job #2492992) | Borderou de evaluare (job #1136239) | Borderou de evaluare (job #1920188) | Borderou de evaluare (job #265096) | Borderou de evaluare (job #1716022)
Borderou de evaluare (job #1716022)
Raport evaluator
Compilare:
user.cpp: In member function ‘void aint::compute(int, int, int)’:
user.cpp:50:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 1; i < data[node].size(); i++) {
^
user.cpp: In function ‘int cb(std::pair<int, int>)’:
user.cpp:142:9: warning: unused variable ‘i’ [-Wunused-variable]
int i;
^
user.cpp: In function ‘int main()’:
user.cpp:156:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tri3.in","r",stdin);
^
user.cpp:157:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tri3.out","w",stdout);
^
user.cpp:159:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:160:70: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i = 1; i <= n; i++) scanf("%d%d", &P[i].first, &P[i].second);
^
user.cpp:165:72: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &p1.first, &p1.second, &p2.first, &p2.second);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 6016kb | OK | 10 |
2 | 12ms | 6016kb | OK | 10 |
3 | 176ms | 10028kb | OK | 10 |
4 | 340ms | 13196kb | OK | 10 |
5 | 720ms | 21116kb | OK | 10 |
6 | 988ms | 17948kb | OK | 10 |
7 | 1308ms | 21116kb | OK | 10 |
8 | 868ms | 17948kb | OK | 10 |
9 | 976ms | 19532kb | OK | 10 |
10 | 1056ms | 21116kb | OK | 10 |
Punctaj total | 100 |