Pagini recente » Cod sursa (job #2627237) | Cod sursa (job #3142859) | Cod sursa (job #271403) | Cod sursa (job #1960221) | Borderou de evaluare (job #1900544)
Borderou de evaluare (job #1900544)
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 | 288kb | OK | 5 | 5 |
2 | 0ms | 280kb | Incorect | 0 | 0 |
3 | 0ms | 352kb | Incorect | 0 | 0 |
4 | 0ms | 480kb | Incorect | 0 | 0 |
5 | 0ms | 556kb | Incorect | 0 | 0 |
6 | 0ms | 680kb | Incorect | 0 | 0 |
7 | 0ms | 920kb | Incorect | 0 | 0 |
8 | 0ms | 1104kb | Incorect | 0 |
9 | 0ms | 936kb | Incorect | 0 | 0 |
10 | 8ms | 1180kb | Incorect | 0 |
11 | 0ms | 1560kb | Incorect | 0 | 0 |
12 | 52ms | 2000kb | Incorect | 0 |
13 | 0ms | 1476kb | Incorect | 0 | 0 |
14 | 16ms | 1940kb | Incorect | 0 |
15 | 4ms | 2504kb | Incorect | 0 | 0 |
16 | 64ms | 2932kb | Incorect | 0 |
17 | 4ms | 2412kb | Incorect | 0 | 0 |
18 | 8ms | 2668kb | Incorect | 0 |
19 | 4ms | 2408kb | Incorect | 0 |
20 | Depăşit | 3048kb | Time limit exceeded. | 0 |
Punctaj total | 5 |