Pagini recente » Borderou de evaluare (job #936319) | Borderou de evaluare (job #1215500) | Borderou de evaluare (job #476593) | Borderou de evaluare (job #104112) | Borderou de evaluare (job #1214930)
Borderou de evaluare (job #1214930)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:124:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(unsigned int i=1;i<=cnt;i++) printf("%d ",sol[i]);
^
user.cpp: In function ‘int get()’:
user.cpp:24:46: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
while(buff[pos]<'0' || buff[pos]>'9') nxt;
^
user.cpp:28:12: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
nxt;
^
user.cpp: In function ‘int main()’:
user.cpp:130:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dans.in","r",stdin);
^
user.cpp:131:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dans.out","w",stdout);
^
user.cpp: In function ‘int check()’:
user.cpp:56:15: warning: ‘p’ may be used uninitialized in this function [-Wmaybe-uninitialized]
dfs(ind[p]);
^
user.cpp: In function ‘void solve()’:
user.cpp:123:27: warning: ‘cnt’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(unsigned int i=cnt+1;i<sol.size();i++) printf("%d ",sol[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 18064kb | Time limit exceeded. | 0 |
Punctaj total | 0 |