Pagini recente » Borderou de evaluare (job #1137715) | Borderou de evaluare (job #2389934) | Borderou de evaluare (job #1900380) | Borderou de evaluare (job #1614017) | Borderou de evaluare (job #1218599)
Borderou de evaluare (job #1218599)
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("euler.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("euler.out","w",stdout);
^
user.cpp:15:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:16:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(c);
^
/tmp/ccgmYqA1.o: In function `main':
user.cpp:(.text.startup+0x6f): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK | 10 |
2 | 0ms | 268kb | OK | 10 |
3 | 0ms | 288kb | OK | 10 |
4 | 0ms | 388kb | OK | 10 |
5 | 0ms | 488kb | Incorect | 0 |
6 | 16ms | 1468kb | OK | 10 |
7 | 0ms | 276kb | OK | 10 |
8 | 12ms | 1172kb | OK | 10 |
9 | 48ms | 3456kb | OK | 10 |
10 | 88ms | 6452kb | OK | 10 |
Punctaj total | 90 |