Pagini recente » Borderou de evaluare (job #963394) | Borderou de evaluare (job #1225997) | Borderou de evaluare (job #1496965) | Borderou de evaluare (job #896393) | Borderou de evaluare (job #1715862)
Borderou de evaluare (job #1715862)
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:140:9: warning: unused variable ‘i’ [-Wunused-variable]
int i;
^
user.cpp: In function ‘int main()’:
user.cpp:154: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:155: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:157: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:158: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:163: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 | 6020kb | OK | 10 |
2 | 12ms | 6028kb | OK | 10 |
3 | 180ms | 10028kb | OK | 10 |
4 | 356ms | 13196kb | OK | 10 |
5 | 752ms | 21116kb | OK | 10 |
6 | 928ms | 17948kb | Incorect | 0 |
7 | 1204ms | 21116kb | Incorect | 0 |
8 | 916ms | 17948kb | Incorect | 0 |
9 | 1032ms | 19532kb | Incorect | 0 |
10 | 1120ms | 21116kb | Incorect | 0 |
Punctaj total | 50 |