Pagini recente » Cod sursa (job #197062) | Borderou de evaluare (job #828669) | Borderou de evaluare (job #1571948) | Borderou de evaluare (job #612915) | Borderou de evaluare (job #1254490)
Borderou de evaluare (job #1254490)
Raport evaluator
Compilare:
user.cpp: In function ‘void DFS(long int)’:
user.cpp:27:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<list[nod].size();i++) DFS(nodes[i]);
^
user.cpp:29:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<nodes.size();j++){
^
user.cpp:57:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<nodes.size();i++) dp[nod][1] = max(dp[nod][1],gdp[i][0]+gdp[j][i+1]);
^
user.cpp: In function ‘int main()’:
user.cpp:62: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:63: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:65:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
user.cpp:67:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&nr);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 480kb | Raspuns gresit | 0 |
2 | 0ms | 832kb | Raspuns gresit | 0 |
3 | 0ms | 1440kb | Raspuns gresit | 0 |
4 | 4ms | 2416kb | Raspuns gresit | 0 |
5 | 4ms | 2328kb | Raspuns gresit | 0 |
6 | 4ms | 2188kb | Raspuns gresit | 0 |
7 | 4ms | 3216kb | Raspuns gresit | 0 |
8 | 4ms | 2428kb | Raspuns gresit | 0 |
9 | 4ms | 3140kb | Raspuns gresit | 0 |
10 | 4ms | 2736kb | Raspuns gresit | 0 |
Punctaj total | 0 |