Pagini recente » Borderou de evaluare (job #1783580) | Borderou de evaluare (job #110504) | Borderou de evaluare (job #402045) | Borderou de evaluare (job #1176007) | Borderou de evaluare (job #1900548)
Borderou de evaluare (job #1900548)
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.y<b.y);
^
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].y<vcc[tip[j]][poz1].y))
^
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].y<vcc[tip[j]][poz1].y))
^
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 | 280kb | Incorect | 0 | 0 |
| 2 | 0ms | 268kb | Incorect | 0 | 0 |
| 3 | 0ms | 348kb | Incorect | 0 | 0 |
| 4 | 0ms | 480kb | Incorect | 0 | 0 |
| 5 | 0ms | 544kb | Incorect | 0 | 0 |
| 6 | 0ms | 672kb | Incorect | 0 | 0 |
| 7 | 0ms | 916kb | Incorect | 0 | 0 |
| 8 | 0ms | 1108kb | Incorect | 0 |
| 9 | 0ms | 932kb | Incorect | 0 | 0 |
| 10 | 8ms | 1176kb | Incorect | 0 |
| 11 | 0ms | 1552kb | Incorect | 0 | 0 |
| 12 | 52ms | 1992kb | Incorect | 0 |
| 13 | 0ms | 1476kb | Incorect | 0 | 0 |
| 14 | 16ms | 1940kb | Incorect | 0 |
| 15 | 4ms | 2500kb | Incorect | 0 | 0 |
| 16 | 64ms | 2924kb | Incorect | 0 |
| 17 | 4ms | 2400kb | Incorect | 0 | 0 |
| 18 | 8ms | 2664kb | Incorect | 0 |
| 19 | 4ms | 2404kb | Incorect | 0 |
| 20 | Depăşit | 3048kb | Time limit exceeded. | 0 |
| Punctaj total | 0 |