Pagini recente » Borderou de evaluare (job #1609805) | Borderou de evaluare (job #2842999) | Borderou de evaluare (job #186275) | Borderou de evaluare (job #3045095) | Borderou de evaluare (job #1393739)
Borderou de evaluare (job #1393739)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ec.in","r",stdin);
^
user.cpp:21:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ec.out","w",stdout);
^
user.cpp:23:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &k);
^
user.cpp:28:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &xx);
^
user.cpp:33:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (scanf("\n") , i = 1; i <= k; ++i)
^
user.cpp:35:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1); L = strlen(s+1);
^
/tmp/ccJtMZfi.o: In function `main':
user.cpp:(.text.startup+0x108): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 296kb | OK | 10 |
2 | 0ms | 304kb | OK | 10 |
3 | 0ms | 304kb | OK | 10 |
4 | 0ms | 304kb | OK | 10 |
5 | 8ms | 364kb | OK | 10 |
6 | 0ms | 308kb | OK | 10 |
7 | 40ms | 364kb | OK | 10 |
8 | 64ms | 360kb | OK | 10 |
9 | 0ms | 324kb | OK | 10 |
10 | 0ms | 324kb | OK | 10 |
Punctaj total | 100 |