Pagini recente » Borderou de evaluare (job #2701479) | Borderou de evaluare (job #573032) | Borderou de evaluare (job #2656124) | Borderou de evaluare (job #110446) | Borderou de evaluare (job #1200056)
Borderou de evaluare (job #1200056)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12: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:13: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:17:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:19:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:22:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s); x=0;
^
/tmp/cc6ayL3K.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 | 2772kb | OK | 10 |
2 | 0ms | 500kb | OK | 10 |
3 | 0ms | 732kb | OK | 10 |
4 | 0ms | 1056kb | OK | 10 |
5 | 36ms | 8160kb | OK | 10 |
6 | 24ms | 6400kb | OK | 10 |
7 | 24ms | 8164kb | OK | 10 |
8 | 12ms | 2764kb | OK | 10 |
9 | 24ms | 8060kb | OK | 10 |
10 | 24ms | 7708kb | OK | 10 |
Punctaj total | 100 |