Pagini recente » Borderou de evaluare (job #2534461) | Borderou de evaluare (job #2686335) | Borderou de evaluare (job #505832) | Borderou de evaluare (job #2903907) | Borderou de evaluare (job #1412224)
Borderou de evaluare (job #1412224)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:15: warning: unused variable ‘j’ [-Wunused-variable]
int n,k,i,j,mi,la,pu,tm,st,dr;
^
user.cpp:7:35: 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:8:37: 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:11:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&n,&k);
^
user.cpp:12:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(si+1);
^
/tmp/ccEPSYzD.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 | 252kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 244kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 248kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 32ms | 2864kb | OK | 10 |
5 | 0ms | 244kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 240kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 228kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 24ms | 2864kb | OK | 10 |
9 | 24ms | 2868kb | OK | 10 |
10 | 40ms | 2880kb | OK | 10 |
Punctaj total | 40 |