Pagini recente » Borderou de evaluare (job #1850634) | Borderou de evaluare (job #3130515) | Borderou de evaluare (job #1311412) | Statistici Barta Adrian (BartaAdrian) | Borderou de evaluare (job #2616140)
Borderou de evaluare (job #2616140)
Raport evaluator
Compilare:
main.cpp: In function 'void DFS(int)':
main.cpp:13:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<g[node].size();i++)
~^~~~~~~~~~~~~~~
main.cpp:16:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<g[node].size();i++){
~^~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:36:33: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=]
scanf("%d%d",&x,&cost[i]);
^
main.cpp:31:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("mese.in","r",stdin);
^
main.cpp:32:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("mese.out","w",stdout);
^
main.cpp:34:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&s);
^
main.cpp:36:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&cost[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 7ms | 2490kb | OK | 10 |
| 2 | 7ms | 2490kb | OK | 10 |
| 3 | 23ms | 2883kb | OK | 10 |
| 4 | 40ms | 4063kb | OK | 10 |
| 5 | 35ms | 3014kb | OK | 10 |
| 6 | 44ms | 3014kb | OK | 10 |
| 7 | 81ms | 5636kb | OK | 10 |
| 8 | 80ms | 3538kb | OK | 10 |
| 9 | 100ms | 3801kb | OK | 10 |
| 10 | 92ms | 3670kb | OK | 10 |
| Punctaj total | 100 |