Pagini recente » Borderou de evaluare (job #1037023) | Borderou de evaluare (job #82838) | Borderou de evaluare (job #1437413) | Borderou de evaluare (job #2642935) | Borderou de evaluare (job #2293045)
Borderou de evaluare (job #2293045)
Raport evaluator
Compilare:
main.cpp: In function 'void write()':
main.cpp:45:68: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
for(node *i = listSortedElements;i;i=i->next) printf("%d ",i->data);
^
main.cpp: In function 'void read()':
main.cpp:33:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sortaret.in","r",stdin);
^
main.cpp:35:48: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld",&numberOfNodes,&numberOfEdges);
^
main.cpp:38:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld",&start,&end);
^
main.cpp: In function 'void write()':
main.cpp:44:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sortaret.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 3ms | 131kb | OK | 10 |
4 | 4ms | 262kb | OK | 10 |
5 | 7ms | 393kb | OK | 10 |
6 | 12ms | 655kb | OK | 10 |
7 | 25ms | 1441kb | OK | 10 |
8 | 36ms | 2097kb | OK | 10 |
9 | 74ms | 4063kb | OK | 10 |
10 | 118ms | 5767kb | OK | 10 |
Punctaj total | 100 |