Borderou de evaluare (job #1620520)
Raport evaluator
Compilare:
user.cpp: In function ‘int detTimpMin(int)’:
user.cpp:20:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<Gt[nod].size(); ++i)
^
user.cpp: In function ‘int detTimpMax(int)’:
user.cpp:5:22: warning: integer overflow in expression [-Woverflow]
#define INF ((2<<30)-1)
^
user.cpp:31:23: note: in expansion of macro ‘INF’
if(incMax[nod] != INF)
^
user.cpp:37:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<G[nod].size(); ++i)
^
user.cpp: In function ‘int main()’:
user.cpp:5:22: warning: integer overflow in expression [-Woverflow]
#define INF ((2<<30)-1)
^
user.cpp:51:24: note: in expansion of macro ‘INF’
incMax.assign(N+2, INF);
^
user.cpp:47:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pm2.in", "rt", stdin);
^
user.cpp:48:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pm2.out", "wt", stdout);
^
user.cpp:49:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.cpp:55:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:60:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nrV);
^
user.cpp:63:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 424kb | OK! | 10 |
2 | 0ms | 432kb | OK! | 10 |
3 | 0ms | 440kb | OK! | 10 |
4 | 0ms | 428kb | OK! | 10 |
5 | 0ms | 496kb | OK! | 10 |
6 | 0ms | 496kb | OK! | 10 |
7 | 0ms | 432kb | OK! | 10 |
8 | 0ms | 444kb | OK! | 10 |
9 | 0ms | 452kb | OK! | 10 |
10 | 0ms | 428kb | OK! | 10 |
Punctaj total | 100 |