Pagini recente » Borderou de evaluare (job #2843899) | Borderou de evaluare (job #2399349) | Borderou de evaluare (job #2018918) | Borderou de evaluare (job #2904057) | Borderou de evaluare (job #1412325)
Borderou de evaluare (job #1412325)
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/ccZ7UYw8.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 | 76ms | 39332kb | OK | 10 |
2 | 72ms | 39328kb | OK | 10 |
3 | 72ms | 39328kb | OK | 10 |
4 | 56ms | 39296kb | OK | 10 |
5 | 68ms | 39332kb | OK | 10 |
6 | 72ms | 39332kb | OK | 10 |
7 | 0ms | 340kb | Incorect | 0 |
8 | 4ms | 3332kb | Incorect | 0 |
9 | 40ms | 30404kb | OK | 10 |
10 | 64ms | 39328kb | OK | 10 |
Punctaj total | 80 |