Pagini recente » Borderou de evaluare (job #1247594) | Borderou de evaluare (job #2961209) | Borderou de evaluare (job #1731929) | Borderou de evaluare (job #1854839) | Borderou de evaluare (job #1412345)
Borderou de evaluare (job #1412345)
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/ccpgeI6y.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 | 100ms | 58864kb | OK | 10 |
2 | 100ms | 58860kb | OK | 10 |
3 | 96ms | 58864kb | OK | 10 |
4 | 80ms | 58648kb | OK | 10 |
5 | 96ms | 58868kb | OK | 10 |
6 | 96ms | 58868kb | OK | 10 |
7 | 0ms | 336kb | OK | 10 |
8 | 4ms | 3388kb | OK | 10 |
9 | 48ms | 37024kb | OK | 10 |
10 | 92ms | 58868kb | OK | 10 |
Punctaj total | 100 |