Pagini recente » Cod sursa (job #2806818) | Cod sursa (job #2299955) | Cod sursa (job #813432) | Cod sursa (job #750077) | Borderou de evaluare (job #1299948)
Borderou de evaluare (job #1299948)
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:133: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:134: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:136: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:140: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:149: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 | Incorect | 0 |
| 2 | 12ms | 480kb | Incorect | 0 |
| 3 | 12ms | 480kb | Incorect | 0 |
| 4 | Depăşit | 1040kb | Time limit exceeded. | 0 |
| 5 | Depăşit | 1040kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 2504kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 2512kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 2508kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 2508kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 2512kb | Time limit exceeded. | 0 |
| Punctaj total | 0 |