Pagini recente » Cod sursa (job #1982248) | Borderou de evaluare (job #2504287) | Borderou de evaluare (job #507843) | Borderou de evaluare (job #1526648) | Borderou de evaluare (job #1777242)
Borderou de evaluare (job #1777242)
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/ccQup1s9.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 | 280kb | OK | 10 |
| 4 | 0ms | 316kb | Killed by signal 6(SIGABRT). | 0 |
| 5 | 0ms | 312kb | Killed by signal 6(SIGABRT). | 0 |
| 6 | 0ms | 320kb | Killed by signal 6(SIGABRT). | 0 |
| 7 | 0ms | 316kb | Killed by signal 6(SIGABRT). | 0 |
| 8 | 0ms | 316kb | Killed by signal 6(SIGABRT). | 0 |
| 9 | 0ms | 312kb | Killed by signal 6(SIGABRT). | 0 |
| 10 | 0ms | 316kb | Killed by signal 6(SIGABRT). | 0 |
| Punctaj total | 30 |