Pagini recente » Borderou de evaluare (job #211041) | Borderou de evaluare (job #3125358) | Borderou de evaluare (job #725106) | Borderou de evaluare (job #20953) | Borderou de evaluare (job #1594816)
Borderou de evaluare (job #1594816)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:78:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;(int)i<sol.size();i++) printf("%d ",sol[i]);
^
user.cpp:23:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rezervatie.in","r",stdin);
^
user.cpp:24:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rezervatie.out","w",stdout);
^
user.cpp:26:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d ",&n,&m);
^
user.cpp:27:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
user.cpp:29:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&l);
^
user.cpp:32:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&x,&y); v[i].x=x; v[i].y=y;
^
/tmp/ccvaBtvv.o: In function `main':
user.cpp:(.text.startup+0x72): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 312kb | OK | 10 |
2 | 0ms | 312kb | OK | 10 |
3 | 0ms | 320kb | OK | 10 |
4 | 0ms | 308kb | OK | 10 |
5 | 0ms | 352kb | OK | 10 |
6 | 4ms | 368kb | OK | 10 |
7 | 12ms | 396kb | OK | 10 |
8 | 20ms | 396kb | OK | 10 |
9 | 0ms | 320kb | OK | 10 |
10 | 0ms | 396kb | Incorect | 0 |
Punctaj total | 90 |