Pagini recente » Borderou de evaluare (job #3224938) | Borderou de evaluare (job #3212362) | Borderou de evaluare (job #2931361) | Borderou de evaluare (job #2329594) | Borderou de evaluare (job #2189101)
Borderou de evaluare (job #2189101)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:35:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<g[nod].size();i++) dfs(g[nod][i]);
~^~~~~~~~~~~~~~
user.cpp: In function ‘int main()’:
user.cpp:41:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("undo.in","r",stdin);
^
user.cpp:42:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("undo.out","w",stdout);
^
user.cpp:44:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:48:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&v[i].tip,&v[i].x);
^
user.cpp:49:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
if(v[i].tip==1) scanf("%d%d",&v[i].y,&v[i].z);
^
user.cpp:50:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
else if(v[i].tip==2) {scanf("%d",&v[i].y);v[i].z=++l;}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 12008kb | OK | 10 |
2 | 20ms | 12148kb | OK | 10 |
3 | 20ms | 12160kb | OK | 10 |
4 | 124ms | 15436kb | OK | 10 |
5 | 128ms | 15520kb | OK | 10 |
6 | 672ms | 26428kb | OK | 10 |
7 | 640ms | 25860kb | OK | 10 |
8 | 680ms | 26440kb | OK | 10 |
9 | 652ms | 25852kb | OK | 10 |
10 | 672ms | 26444kb | OK | 10 |
Punctaj total | 100 |