Pagini recente » Borderou de evaluare (job #2278132) | Cod sursa (job #577309) | Borderou de evaluare (job #1805582) | Borderou de evaluare (job #1231753) | Borderou de evaluare (job #1255479)
Borderou de evaluare (job #1255479)
Raport evaluator
Compilare:
user.cpp: In function ‘void DFS(long int)’:
user.cpp:33:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<list[nod].size();i++) DFS(nodes[i]);
^
user.cpp:36:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<nodes.size();j++){
^
user.cpp:53:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<nodes.size();j++){
^
user.cpp: In function ‘int main()’:
user.cpp:74: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:75: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:77:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
user.cpp:79: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 | 500kb | Cool! | 10 |
| 2 | 0ms | 844kb | Cool! | 10 |
| 3 | 0ms | 1452kb | Cool! | 10 |
| 4 | 4ms | 2432kb | Cool! | 10 |
| 5 | 4ms | 2336kb | Cool! | 10 |
| 6 | 4ms | 2200kb | Cool! | 10 |
| 7 | 8ms | 3236kb | Cool! | 10 |
| 8 | 4ms | 2448kb | Cool! | 10 |
| 9 | 8ms | 3152kb | Cool! | 10 |
| 10 | 4ms | 2752kb | Cool! | 10 |
| Punctaj total | 100 |