Pagini recente » Cod sursa (job #872546) | Monitorul de evaluare | Cod sursa (job #2806822) | Cod sursa (job #600973) | Borderou de evaluare (job #1299949)
Borderou de evaluare (job #1299949)
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:145:18: warning: unused variable ‘need’ [-Wunused-variable]
long need = getNeed(i);
^
user.cpp:127: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:128: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:130: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:134: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:143: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 | 468kb | OK | 10 |
| 2 | 8ms | 480kb | OK | 10 |
| 3 | 8ms | 480kb | OK | 10 |
| 4 | Depăşit | 1036kb | Time limit exceeded. | 0 |
| 5 | Depăşit | 1040kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 2508kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 2508kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 2512kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 2512kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 2512kb | Time limit exceeded. | 0 |
| Punctaj total | 30 |