Pagini recente » Borderou de evaluare (job #2120576) | Borderou de evaluare (job #2103874) | Borderou de evaluare (job #3299890) | Borderou de evaluare (job #562694) | Borderou de evaluare (job #1899349)
Borderou de evaluare (job #1899349)
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:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(poz<vcc[i].size()||poz1<vcc[j].size())
^
user.cpp:40:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(poz<vcc[i].size()||poz1<vcc[j].size())
^
user.cpp:42:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(poz1==vcc[j].size()||(poz<vcc[i].size()&&vcc[i][poz].x<vcc[j][poz1].x))
^
user.cpp:42:54: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(poz1==vcc[j].size()||(poz<vcc[i].size()&&vcc[i][poz].x<vcc[j][poz1].x))
^
user.cpp:57:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(poz=0;poz<vcc[i].size();poz++)
^
user.cpp:59:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(poz=0;poz<vcc[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 | 284kb | Incorect | 0 | 0 |
| 3 | 0ms | 356kb | Incorect | 0 | 0 |
| 4 | 0ms | 484kb | Incorect | 0 | 0 |
| 5 | 0ms | 384kb | Incorect | 0 | 0 |
| 6 | 0ms | 680kb | Incorect | 0 | 0 |
| 7 | 0ms | 636kb | Incorect | 0 | 0 |
| 8 | 0ms | 648kb | Incorect | 0 |
| 9 | 0ms | 420kb | Incorect | 0 | 0 |
| 10 | 4ms | 1148kb | Incorect | 0 |
| 11 | 0ms | 1000kb | Incorect | 0 | 0 |
| 12 | 52ms | 1996kb | Incorect | 0 |
| 13 | 0ms | 288kb | Incorect | 0 | 0 |
| 14 | 8ms | 1900kb | Incorect | 0 |
| 15 | 0ms | 992kb | Incorect | 0 | 0 |
| 16 | 40ms | 2892kb | Incorect | 0 |
| 17 | 0ms | 308kb | Incorect | 0 | 0 |
| 18 | 0ms | 1156kb | Incorect | 0 |
| 19 | 0ms | 300kb | Incorect | 0 |
| 20 | Depăşit | 3056kb | Time limit exceeded. | 0 |
| Punctaj total | 5 |