Pagini recente » Borderou de evaluare (job #243945) | Cod sursa (job #1949176) | Borderou de evaluare (job #768077) | Borderou de evaluare (job #2960874) | Borderou de evaluare (job #1305514)
Borderou de evaluare (job #1305514)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:42:10: warning: unused variable ‘c’ [-Wunused-variable]
char c;
^
user.cpp:39:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("muzeu.in","r",stdin);
^
user.cpp:40:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("muzeu.out","w",stdout);
^
user.cpp:43:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:44:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:46:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccK3M7bu.o: In function `main':
user.cpp:(.text.startup+0x6a): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 292kb | OK | 10 |
2 | 0ms | 304kb | OK | 10 |
3 | 0ms | 352kb | OK | 10 |
4 | 0ms | 444kb | OK | 10 |
5 | 8ms | 760kb | OK | 10 |
6 | 12ms | 960kb | OK | 10 |
7 | 12ms | 964kb | OK | 10 |
8 | 12ms | 964kb | OK | 10 |
9 | 12ms | 1012kb | OK | 10 |
10 | 16ms | 1012kb | OK | 10 |
Punctaj total | 100 |