Pagini recente » Cod sursa (job #3240521) | Borderou de evaluare (job #2835945) | Borderou de evaluare (job #838994) | Borderou de evaluare (job #2028283) | Borderou de evaluare (job #1255480)
Borderou de evaluare (job #1255480)
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 | 492kb | Cool! | 10 |
2 | 0ms | 836kb | Cool! | 10 |
3 | 0ms | 1448kb | Cool! | 10 |
4 | 4ms | 2432kb | Cool! | 10 |
5 | 4ms | 2332kb | Cool! | 10 |
6 | 4ms | 2196kb | Cool! | 10 |
7 | 8ms | 3232kb | Cool! | 10 |
8 | 4ms | 2444kb | Cool! | 10 |
9 | 8ms | 3148kb | Cool! | 10 |
10 | 4ms | 2748kb | Cool! | 10 |
Punctaj total | 100 |