Pagini recente » Borderou de evaluare (job #1600325) | Borderou de evaluare (job #1634003) | Borderou de evaluare (job #1039984) | Borderou de evaluare (job #2858974) | Borderou de evaluare (job #2371408)
Borderou de evaluare (job #2371408)
Raport evaluator
Compilare:
main.cpp: In function 'bool cmp(std::pair<std::pair<long long int, long long int>, long long int>, std::pair<std::pair<long long int, long long int>, long long int>)':
main.cpp:17:42: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
a.first.second == b.first.second && a.first.first<b.first.first ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:18:74: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
a.first.second == b.first.second && a.first.first==b.first.first && a.second<b.second;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:34:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("troll.in","r",stdin);
^
main.cpp:35:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("troll.out","w",stdout);
^
main.cpp:37:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:40:40: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld%lld", &x,&y,&z);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Incorect | 0 |
2 | 3ms | 131kb | Incorect | 0 |
3 | 3ms | 131kb | Incorect | 0 |
4 | 74ms | 1953kb | Incorect | 0 |
5 | 82ms | 2084kb | Incorect | 0 |
6 | 25ms | 782kb | Incorect | 0 |
7 | 93ms | 2478kb | Incorect | 0 |
8 | 71ms | 1953kb | Incorect | 0 |
9 | 139ms | 3522kb | Incorect | 0 |
10 | 17ms | 720kb | Incorect | 0 |
Punctaj total | 0 |