Pagini recente » Borderou de evaluare (job #1504608) | Borderou de evaluare (job #254891) | Borderou de evaluare (job #2602405) | Borderou de evaluare (job #3171030) | Borderou de evaluare (job #1771820)
Borderou de evaluare (job #1771820)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:15:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<v[nod].size();i++) {
^
user.cpp:20:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<v[nod].size();i++)
^
user.cpp:26:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<v[nod].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:33:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dosare.in","r",stdin);
^
user.cpp:34:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dosare.out","w",stdout);
^
user.cpp:35:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:37:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&j);
^
user.cpp:41:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&k[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 472kb | OK | 10 |
2 | 0ms | 480kb | OK | 10 |
3 | 0ms | 480kb | OK | 10 |
4 | 0ms | 480kb | OK | 10 |
5 | 0ms | 488kb | OK | 10 |
6 | 0ms | 516kb | OK | 10 |
7 | 4ms | 652kb | OK | 10 |
8 | 8ms | 724kb | OK | 10 |
9 | 12ms | 752kb | OK | 10 |
10 | 8ms | 764kb | OK | 10 |
Punctaj total | 100 |