Pagini recente » Borderou de evaluare (job #2563122) | Borderou de evaluare (job #2040163) | Borderou de evaluare (job #2176814) | Borderou de evaluare (job #525574) | Borderou de evaluare (job #1200059)
Borderou de evaluare (job #1200059)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("custi.in","r",stdin);
^
user.cpp:12:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("custi.out","w",stdout);
^
user.cpp:16:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:18:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:21:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s); x=0;
^
/tmp/ccNim0Sn.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 | 4ms | 1524kb | OK | 10 |
2 | 0ms | 384kb | OK | 10 |
3 | 0ms | 504kb | OK | 10 |
4 | 0ms | 656kb | OK | 10 |
5 | 32ms | 4216kb | OK | 10 |
6 | 20ms | 3336kb | OK | 10 |
7 | 20ms | 4220kb | OK | 10 |
8 | 12ms | 1524kb | OK | 10 |
9 | 16ms | 4160kb | OK | 10 |
10 | 16ms | 3992kb | OK | 10 |
Punctaj total | 100 |