Pagini recente » Borderou de evaluare (job #1049885) | Borderou de evaluare (job #1076529) | Borderou de evaluare (job #2031027) | Borderou de evaluare (job #2208901) | Borderou de evaluare (job #1219631)
Borderou de evaluare (job #1219631)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:97:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",f[1]);
^
user.cpp:71:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lant.in","r",stdin);
^
user.cpp:72:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lant.out","w",stdout);
^
user.cpp:74:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&K);
^
user.cpp:75:8: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(S);
^
user.cpp:87:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(S);
^
/tmp/ccvt6S6K.o: In function `main':
user.cpp:(.text.startup+0x68): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 296kb | OK | 10 |
2 | 0ms | 360kb | Killed by signal 6(SIGABRT). | 0 |
3 | 0ms | 352kb | Killed by signal 6(SIGABRT). | 0 |
4 | 0ms | 356kb | Killed by signal 6(SIGABRT). | 0 |
5 | 0ms | 300kb | OK | 10 |
6 | 0ms | 364kb | Killed by signal 6(SIGABRT). | 0 |
7 | 0ms | 364kb | Killed by signal 6(SIGABRT). | 0 |
8 | 16ms | 304kb | OK | 10 |
9 | 0ms | 352kb | Killed by signal 6(SIGABRT). | 0 |
10 | 0ms | 348kb | Killed by signal 6(SIGABRT). | 0 |
Punctaj total | 30 |