Borderou de evaluare (job #1483088)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:23:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0; i<qr[nod].size(); i++){
^
user.cpp:33:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0; i<g[nod].size(); i++)
^
user.cpp: In function ‘int main()’:
user.cpp:41:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbvalmax.in","r",stdin);
^
user.cpp:42:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbvalmax.out","w",stdout);
^
user.cpp:43:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&N,&M);
^
user.cpp:47:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:52:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:58:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 7544kb | OK | 10 |
2 | 12ms | 7544kb | OK | 10 |
3 | 20ms | 7680kb | OK | 10 |
4 | 20ms | 7688kb | OK | 10 |
5 | 68ms | 8904kb | OK | 10 |
6 | 352ms | 14112kb | OK | 10 |
7 | 560ms | 17416kb | OK | 10 |
8 | Depăşit | 24932kb | Time limit exceeded. | 0 |
9 | Depăşit | 26248kb | Time limit exceeded. | 0 |
10 | Depăşit | 27508kb | Time limit exceeded. | 0 |
Punctaj total | 70 |