Pagini recente » Borderou de evaluare (job #2229912) | Borderou de evaluare (job #1225209) | Borderou de evaluare (job #2039602) | Borderou de evaluare (job #2160352) | Borderou de evaluare (job #1301372)
Borderou de evaluare (job #1301372)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:36:10: warning: unused variable ‘poz’ [-Wunused-variable]
int t,n,poz;
^
user.cpp: In function ‘int check(int)’:
user.cpp:17:21: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(c,n+2,stdin);
^
user.cpp: In function ‘int main()’:
user.cpp:37:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bunicu.in","r",stdin);
^
user.cpp:39:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:42:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:47:22: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(c,n+2,stdin);
^
user.cpp: In function ‘int check(int)’:
user.cpp:21:3: warning: ‘j’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(j==n)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 4ms | 248kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
2 | 4ms | 248kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 4ms | 244kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 8ms | 244kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 20ms | 248kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |