Pagini recente » Borderou de evaluare (job #2667365) | Borderou de evaluare (job #1859746) | Borderou de evaluare (job #807749) | Borderou de evaluare (job #1735832) | Borderou de evaluare (job #1299885)
Borderou de evaluare (job #1299885)
Raport evaluator
Compilare:
user.cpp: In function ‘void Brute(long int)’:
user.cpp:107:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(long i=0;i<Blks[id].pts.size();i++){
^
user.cpp: In function ‘int main()’:
user.cpp:144:18: warning: unused variable ‘need’ [-Wunused-variable]
long need = getNeed(i);
^
user.cpp:126:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("distancesum.in","r",stdin);
^
user.cpp:127:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("distancesum.out","w",stdout);
^
user.cpp:129:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld",&n,&m);
^
user.cpp:133:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=0;i<n;i++) scanf("%ld %ld",&v[i].x,&v[i].y);
^
user.cpp:142:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld",&pp.x,&pp.y); Ans = 0;
^
user.cpp: In function ‘long int getNeed(long int)’:
user.cpp:95:37: warning: ‘cmp’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(i=1;i<=4;i++) if(r[i] != -1 && r[i] != cmp) return 0;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 472kb | OK | 10 |
2 | 8ms | 484kb | OK | 10 |
3 | 8ms | 476kb | OK | 10 |
4 | Depăşit | 1032kb | Time limit exceeded. | 0 |
5 | Depăşit | 1032kb | Time limit exceeded. | 0 |
6 | Depăşit | 2512kb | Time limit exceeded. | 0 |
7 | Depăşit | 2512kb | Time limit exceeded. | 0 |
8 | Depăşit | 2504kb | Time limit exceeded. | 0 |
9 | Depăşit | 2508kb | Time limit exceeded. | 0 |
10 | Depăşit | 2512kb | Time limit exceeded. | 0 |
Punctaj total | 30 |