Pagini recente » Borderou de evaluare (job #1705646) | Borderou de evaluare (job #2968349) | Borderou de evaluare (job #256322) | Borderou de evaluare (job #3141614) | Borderou de evaluare (job #2371435)
Borderou de evaluare (job #2371435)
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 | OK | 10 |
2 | 3ms | 131kb | OK | 10 |
3 | 3ms | 131kb | OK | 10 |
4 | 66ms | 1826kb | OK | 10 |
5 | 67ms | 1826kb | OK | 10 |
6 | 22ms | 720kb | OK | 10 |
7 | 81ms | 1826kb | OK | 10 |
8 | 53ms | 1826kb | OK | 10 |
9 | 110ms | 3395kb | OK | 10 |
10 | 13ms | 720kb | OK | 10 |
Punctaj total | 100 |