Pagini recente » Borderou de evaluare (job #2137636) | Borderou de evaluare (job #1371838) | Borderou de evaluare (job #1410386) | Borderou de evaluare (job #2022293) | Borderou de evaluare (job #1412231)
Borderou de evaluare (job #1412231)
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/ccj2j0VO.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 | 44ms | 2872kb | Incorect | 0 |
2 | 44ms | 2872kb | OK | 10 |
3 | 44ms | 2872kb | OK | 10 |
4 | 32ms | 2864kb | OK | 10 |
5 | 40ms | 2876kb | OK | 10 |
6 | 44ms | 2868kb | OK | 10 |
7 | 24ms | 2856kb | OK | 10 |
8 | 24ms | 2856kb | OK | 10 |
9 | 24ms | 2864kb | OK | 10 |
10 | 40ms | 2876kb | OK | 10 |
Punctaj total | 90 |