Pagini recente » Borderou de evaluare (job #2189073) | Borderou de evaluare (job #89726) | Borderou de evaluare (job #2895817) | Borderou de evaluare (job #1936620) | Borderou de evaluare (job #1236739)
Borderou de evaluare (job #1236739)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:223:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%I64d",&d);
^
user.cpp:214:33: 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:215:35: 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:219:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(tmp);
^
user.cpp:223:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d",&d);
^
/tmp/ccqftZvm.o: In function `main':
user.cpp:(.text.startup+0x6b): 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 | 288kb | OK | 10 |
3 | 0ms | 284kb | OK | 10 |
4 | 0ms | 320kb | Incorect | 0 |
5 | 0ms | 276kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 408kb | Killed by signal 6(SIGABRT). | 0 |
7 | 0ms | 404kb | Killed by signal 6(SIGABRT). | 0 |
8 | 0ms | 408kb | Killed by signal 6(SIGABRT). | 0 |
9 | 0ms | 412kb | Killed by signal 6(SIGABRT). | 0 |
10 | 0ms | 404kb | Killed by signal 6(SIGABRT). | 0 |
Punctaj total | 30 |