Pagini recente » Cod sursa (job #2204012) | Cod sursa (job #996296) | Cod sursa (job #2935787) | Cod sursa (job #2930308) | Borderou de evaluare (job #2224199)
Borderou de evaluare (job #2224199)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:49:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j=0;j<v[i].size();j++){
~^~~~~~~~~~~~
user.cpp: In function ‘int comb(int, int)’:
user.cpp:56:9: warning: unused variable ‘j’ [-Wunused-variable]
int j,x,y;
^
user.cpp:56:11: warning: unused variable ‘x’ [-Wunused-variable]
int j,x,y;
^
user.cpp:56:13: warning: unused variable ‘y’ [-Wunused-variable]
int j,x,y;
^
user.cpp: In function ‘int main()’:
user.cpp:73:43: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin,"%d%d%d%d\n",&n,&aa,&r,&k);
^
user.cpp:76:27: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets (s,4000,fin);
^
In file included from /usr/include/stdio.h:936:0,
from /usr/include/c++/6/cstdio:42,
from user.cpp:1:
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘int main()’ at user.cpp:76:27:
/usr/include/bits/stdio2.h:261:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1540kb | OK | 10 |
2 | 0ms | 1556kb | OK | 10 |
3 | 0ms | 1648kb | OK | 10 |
4 | 4ms | 1752kb | OK | 10 |
5 | 36ms | 2104kb | OK | 10 |
6 | 108ms | 2592kb | OK | 10 |
7 | 304ms | 2796kb | OK | 10 |
8 | Depăşit | 2300kb | Time limit exceeded. | 0 |
9 | 104ms | 2528kb | OK | 10 |
10 | Depăşit | 1812kb | Time limit exceeded. | 0 |
Punctaj total | 80 |