Pagini recente » Borderou de evaluare (job #1785964) | Borderou de evaluare (job #405350) | Borderou de evaluare (job #2192066) | Borderou de evaluare (job #2918073) | Borderou de evaluare (job #1521340)
Borderou de evaluare (job #1521340)
Raport evaluator
Compilare:
user.cpp: In function ‘bool sorting(eu, eu)’:
user.cpp:13:23: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(a.x<b.x||a.x==b.x&&a.y<b.y)
^
user.cpp: In function ‘int main()’:
user.cpp:28:9: warning: unused variable ‘pp’ [-Wunused-variable]
int pp=0;
^
user.cpp:20:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("substr.in","r",stdin);
^
user.cpp:21:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("substr.out","w",stdout);
^
user.cpp:22:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%c",&n,&k,&c);
^
user.cpp:25:8: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccziewJD.o: In function `main':
user.cpp:(.text.startup+0x97): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 60ms | 416kb | OK | 10 |
2 | 64ms | 412kb | OK | 10 |
3 | 60ms | 412kb | OK | 10 |
4 | 12ms | 304kb | OK | 10 |
5 | 52ms | 404kb | OK | 10 |
6 | 56ms | 404kb | OK | 10 |
7 | 0ms | 284kb | OK | 10 |
8 | 0ms | 288kb | OK | 10 |
9 | 0ms | 284kb | OK | 10 |
10 | 4ms | 320kb | Incorect | 0 |
Punctaj total | 90 |