Borderou de evaluare (job #2266818)
Raport evaluator
Compilare:
main.cpp: In function 'void solve()':
main.cpp:42:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<nod[pos].size();i++)
~^~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:59:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("lanterna.in","r",stdin);
^
main.cpp:60:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("lanterna.out","w",stdout);
^
main.cpp:61:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&k);
^
main.cpp:64:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
main.cpp:67:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
main.cpp:70:41: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d",&x,&y,&t,&w);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 5ms | 131kb | OK | 10 |
2 | 19ms | 131kb | Incorect | 0 |
3 | 14ms | 131kb | OK | 10 |
4 | 14ms | 131kb | Incorect | 0 |
5 | 14ms | 225kb | Incorect | 0 |
6 | 19ms | 131kb | Incorect | 0 |
7 | 8ms | 131kb | Incorect | 0 |
8 | 7ms | 131kb | OK | 10 |
9 | 3ms | 131kb | OK | 10 |
10 | 4ms | 131kb | Incorect | 0 |
Punctaj total | 40 |