Pagini recente » Borderou de evaluare (job #2141169) | Borderou de evaluare (job #588925) | Borderou de evaluare (job #2412377) | Borderou de evaluare (job #2438745) | Borderou de evaluare (job #1899371)
Borderou de evaluare (job #1899371)
Raport evaluator
Compilare:
user.cpp: In function ‘bool sorting(eu, eu)’:
user.cpp:13:38: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
return (a.tip<b.tip||a.tip==b.tip&&a.x<b.x);
^
user.cpp: In function ‘int main()’:
user.cpp:40:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(poz<vcc[tip[i]].size()||poz1<vcc[tip[j]].size())
^
user.cpp:40:61: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(poz<vcc[tip[i]].size()||poz1<vcc[tip[j]].size())
^
user.cpp:42:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(poz1==vcc[tip[j]].size()||(poz<vcc[tip[i]].size()&&vcc[tip[i]][poz].x<vcc[tip[j]][poz1].x))
^
user.cpp:42:64: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(poz1==vcc[tip[j]].size()||(poz<vcc[tip[i]].size()&&vcc[tip[i]][poz].x<vcc[tip[j]][poz1].x))
^
user.cpp:57:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(poz=0;poz<vcc[tip[i]].size();poz++)
^
user.cpp:59:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(poz=0;poz<vcc[tip[j]].size();poz++)
^
user.cpp:18:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("carpetbomber.in","r",stdin);
^
user.cpp:19:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("carpetbomber.out","w",stdout);
^
user.cpp:20:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:22:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&v[i].tip,&v[i].x,&v[i].y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 284kb | OK | 5 | 5 |
2 | 0ms | 276kb | Incorect | 0 | 0 |
3 | 0ms | 352kb | Incorect | 0 | 0 |
4 | 0ms | 484kb | Incorect | 0 | 0 |
5 | 0ms | 552kb | Incorect | 0 | 0 |
6 | 0ms | 672kb | Incorect | 0 | 0 |
7 | 0ms | 924kb | Incorect | 0 | 0 |
8 | 0ms | 1112kb | Incorect | 0 |
9 | 0ms | 940kb | Incorect | 0 | 0 |
10 | 8ms | 1184kb | Incorect | 0 |
11 | 0ms | 1560kb | Incorect | 0 | 0 |
12 | 52ms | 1992kb | Incorect | 0 |
13 | 0ms | 1484kb | Incorect | 0 | 0 |
14 | 16ms | 1944kb | Incorect | 0 |
15 | 4ms | 2508kb | Incorect | 0 | 0 |
16 | 68ms | 2928kb | Incorect | 0 |
17 | 4ms | 2404kb | Incorect | 0 | 0 |
18 | 8ms | 2668kb | Incorect | 0 |
19 | 4ms | 2408kb | Incorect | 0 |
20 | Depăşit | 3048kb | Time limit exceeded. | 0 |
Punctaj total | 5 |