Pagini recente » Borderou de evaluare (job #173342) | Borderou de evaluare (job #1643341) | Borderou de evaluare (job #919163) | Borderou de evaluare (job #1798335) | Borderou de evaluare (job #1777246)
Borderou de evaluare (job #1777246)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:83:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%I64d", &d);
^
user.cpp:77:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("next.in", "r", stdin);
^
user.cpp:78:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("next.out", "w", stdout);
^
user.cpp:81:9: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:83:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d", &d);
^
/tmp/ccfevjwb.o: In function `main':
user.cpp:(.text.startup+0x61): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | OK | 10 |
2 | 0ms | 284kb | OK | 10 |
3 | 0ms | 284kb | OK | 10 |
4 | 0ms | 316kb | Killed by signal 6(SIGABRT). | 0 |
5 | 0ms | 316kb | Killed by signal 6(SIGABRT). | 0 |
6 | 0ms | 312kb | Killed by signal 6(SIGABRT). | 0 |
7 | 0ms | 312kb | Killed by signal 6(SIGABRT). | 0 |
8 | 0ms | 316kb | Killed by signal 6(SIGABRT). | 0 |
9 | 0ms | 308kb | Killed by signal 6(SIGABRT). | 0 |
10 | 0ms | 316kb | Killed by signal 6(SIGABRT). | 0 |
Punctaj total | 30 |