Pagini recente » Cod sursa (job #3263895) | Cod sursa (job #568342) | Cod sursa (job #1856862) | Cod sursa (job #504322) | Borderou de evaluare (job #1900547)
Borderou de evaluare (job #1900547)
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 | 276kb | Incorect | 0 | 0 |
3 | 0ms | 356kb | Incorect | 0 | 0 |
4 | 0ms | 484kb | Incorect | 0 | 0 |
5 | 0ms | 552kb | Incorect | 0 | 0 |
6 | 0ms | 676kb | Incorect | 0 | 0 |
7 | 0ms | 928kb | Incorect | 0 | 0 |
8 | 0ms | 1112kb | Incorect | 0 |
9 | 0ms | 940kb | Incorect | 0 | 0 |
10 | 8ms | 1184kb | Incorect | 0 |
11 | 0ms | 1556kb | 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 | 68ms | 2928kb | Incorect | 0 |
17 | 4ms | 2408kb | Incorect | 0 | 0 |
18 | 8ms | 2668kb | Incorect | 0 |
19 | 4ms | 2404kb | Incorect | 0 |
20 | Depăşit | 3052kb | Time limit exceeded. | 0 |
Punctaj total | 5 |