Pagini recente » Borderou de evaluare (job #2941050) | Borderou de evaluare (job #1822384) | Borderou de evaluare (job #2607771) | Borderou de evaluare (job #2628862) | Borderou de evaluare (job #1898438)
Borderou de evaluare (job #1898438)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int, std::vector<int>*, char*, int&)’:
user.cpp:15:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[nod].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:22:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbfind.in","r",stdin);
^
user.cpp:23:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbfind.out","w",stdout);
^
user.cpp:25:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:28:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&nr);
^
user.cpp:31:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:36:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:39:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&nr);
^
user.cpp:42:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:62:34: warning: ‘mid’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(i<=lmax) d1[i]=min(d[i-mid+1],lmax-i+1);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 4ms | 1204kb | OK | 4 | 4 |
| 2 | 16ms | 1544kb | OK | 4 | 4 |
| 3 | 32ms | 2188kb | OK | 4 | 4 |
| 4 | 20ms | 2644kb | OK | 4 | 4 |
| 5 | 20ms | 2100kb | OK | 4 | 4 |
| 6 | 36ms | 2968kb | OK | 4 | 4 |
| 7 | 40ms | 3948kb | OK | 4 | 4 |
| 8 | 36ms | 2744kb | OK | 4 | 4 |
| 9 | 40ms | 3200kb | OK | 4 | 4 |
| 10 | 40ms | 2936kb | OK | 4 | 4 |
| 11 | 4ms | 1236kb | OK | 4 | 4 |
| 12 | 16ms | 1548kb | OK | 4 | 4 |
| 13 | 32ms | 2160kb | OK | 4 | 4 |
| 14 | 28ms | 3352kb | OK | 4 | 4 |
| 15 | 36ms | 2712kb | OK | 4 | 4 |
| 16 | 36ms | 2980kb | OK | 4 | 40 |
| 17 | 40ms | 3952kb | OK | 4 |
| 18 | 40ms | 2876kb | OK | 4 |
| 19 | 44ms | 3812kb | OK | 4 |
| 20 | 40ms | 3088kb | OK | 4 |
| 21 | 56ms | 4748kb | OK | 4 |
| 22 | 56ms | 4540kb | OK | 4 |
| 23 | 56ms | 4768kb | OK | 4 |
| 24 | 56ms | 4468kb | OK | 4 |
| 25 | 56ms | 4256kb | OK | 4 |
| Punctaj total | 100 |