Pagini recente » Cod sursa (job #71800) | Cod sursa (job #845582) | Borderou de evaluare (job #845277) | Borderou de evaluare (job #1784458)
Borderou de evaluare (job #1784458)
Raport evaluator
Compilare:
user.cpp: In function ‘int di(int, int)’:
user.cpp:15:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i<0||j>=v.size()||i>j)
^
user.cpp: In function ‘void dynamics(int)’:
user.cpp:28:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<v.size();i++)
^
user.cpp:31:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (l=1;l<v.size();l++) {
^
user.cpp:32:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0,j=l;j<v.size();i++,j++) {
^
user.cpp: In function ‘void dfs(int, int)’:
user.cpp:46:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<f[nod].size();i++)
^
user.cpp:51:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<f[nod].size();i++)
^
user.cpp:45:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j;
^
user.cpp: In function ‘int main()’:
user.cpp:82:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("petsoft.in","r",stdin);
^
user.cpp:83:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("petsoft.out","w",stdout);
^
user.cpp:84:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:86:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&j);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 4256kb | Raspuns gresit | 0 |
2 | 8ms | 4252kb | Raspuns gresit | 0 |
3 | 20ms | 4256kb | Raspuns gresit | 0 |
4 | 24ms | 4260kb | Raspuns gresit | 0 |
5 | 24ms | 4260kb | Raspuns gresit | 0 |
6 | 28ms | 4264kb | Raspuns gresit | 0 |
7 | 36ms | 4264kb | Raspuns gresit | 0 |
8 | 32ms | 4260kb | Raspuns gresit | 0 |
9 | 48ms | 4268kb | Raspuns gresit | 0 |
10 | 40ms | 4268kb | Raspuns gresit | 0 |
Punctaj total | 0 |