Pagini recente » Borderou de evaluare (job #2907800) | Borderou de evaluare (job #2048664) | Borderou de evaluare (job #626942) | Borderou de evaluare (job #1379816) | Borderou de evaluare (job #1219628)
Borderou de evaluare (job #1219628)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:94: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:68: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:69: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:71:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&K);
^
user.cpp:72:8: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(S);
^
user.cpp:84:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(S);
^
/tmp/cczswnQR.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 | 288kb | Incorect | 0 |
2 | 0ms | 360kb | Killed by signal 6(SIGABRT). | 0 |
3 | 0ms | 356kb | Killed by signal 6(SIGABRT). | 0 |
4 | 0ms | 356kb | Killed by signal 6(SIGABRT). | 0 |
5 | 0ms | 292kb | Incorect | 0 |
6 | 0ms | 360kb | Killed by signal 6(SIGABRT). | 0 |
7 | 0ms | 364kb | Killed by signal 6(SIGABRT). | 0 |
8 | 8ms | 288kb | Incorect | 0 |
9 | 0ms | 352kb | Killed by signal 6(SIGABRT). | 0 |
10 | 0ms | 352kb | Killed by signal 6(SIGABRT). | 0 |
Punctaj total | 0 |