Pagini recente » Borderou de evaluare (job #244944) | Borderou de evaluare (job #1538534) | Borderou de evaluare (job #1786006) | Borderou de evaluare (job #1612654) | Borderou de evaluare (job #1777010)
Borderou de evaluare (job #1777010)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("per.in","r",stdin);
^
user.cpp:16:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("per.out","w",stdout);
^
user.cpp:17:29: 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:18:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
/tmp/ccBhGad2.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 |
Punctaj/grupa |
1 | 0ms | 432kb | OK | 10 | 100 |
2 | 72ms | 460kb | OK | 10 |
3 | 96ms | 456kb | OK | 10 |
4 | 0ms | 460kb | OK | 10 |
5 | 56ms | 456kb | OK | 10 |
6 | 96ms | 464kb | OK | 10 |
7 | 96ms | 464kb | OK | 10 |
8 | 96ms | 460kb | OK | 10 |
9 | 96ms | 460kb | OK | 10 |
10 | 0ms | 436kb | OK | 10 |
Punctaj total | 100 |