Pagini recente » Borderou de evaluare (job #501950) | Borderou de evaluare (job #398041) | Borderou de evaluare (job #2268866) | Borderou de evaluare (job #2357033) | Borderou de evaluare (job #1847484)
Borderou de evaluare (job #1847484)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:91:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zone2.in", "r", stdin);
^
user.cpp:92:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zone2.out", "w", stdout);
^
user.cpp:95:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d\n", &N, &M, &L);
^
user.cpp:97:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a[i] + 1);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:46,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:97:23:
/usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default]
return __gets_warn (__str);
^
/tmp/ccYsCwqR.o: In function `main':
user.cpp:(.text.startup+0x97): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 88ms | 5460kb | OK | 10 |
2 | 0ms | 2272kb | OK | 10 |
3 | 4ms | 2388kb | OK | 10 |
4 | 8ms | 2552kb | OK | 10 |
5 | 12ms | 2684kb | OK | 10 |
6 | 12ms | 2692kb | OK | 10 |
7 | 12ms | 2688kb | OK | 10 |
8 | 36ms | 3676kb | OK | 10 |
9 | 84ms | 5248kb | OK | 10 |
10 | 84ms | 5340kb | OK | 10 |
Punctaj total | 100 |