Pagini recente » Borderou de evaluare (job #3137566) | Borderou de evaluare (job #3250577) | Borderou de evaluare (job #2093214) | Borderou de evaluare (job #3255740) | Borderou de evaluare (job #2089704)
Borderou de evaluare (job #2089704)
Raport evaluator
Compilare:
user.cpp: In function ‘int unite(int, int)’:
user.cpp:17:15: warning: no return statement in function returning non-void [-Wreturn-type]
t[x]=y,h[y]++;}
^
user.cpp: In function ‘int main()’:
user.cpp:55:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<gr[nod].size();i++)
^
user.cpp:19:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("camionas.in","r",stdin);
^
user.cpp:20:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("camionas.out","w",stdout);
^
user.cpp:22:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&m,&g);
^
user.cpp:26:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&x,&y,&gm);
^
user.cpp:39:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("camionas.in","r",stdin);
^
user.cpp:40:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&m,&g);
^
user.cpp:42:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&x,&y,&gm);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 884kb | OK | 10 |
2 | 0ms | 888kb | OK | 10 |
3 | 0ms | 908kb | OK | 10 |
4 | 8ms | 988kb | OK | 10 |
5 | 12ms | 1084kb | OK | 10 |
6 | 64ms | 1692kb | OK | 10 |
7 | 120ms | 2380kb | OK | 10 |
8 | 104ms | 2124kb | OK | 10 |
9 | 180ms | 2936kb | OK | 10 |
10 | 180ms | 2944kb | OK | 10 |
Punctaj total | 100 |