Pagini recente » Borderou de evaluare (job #1462707) | Borderou de evaluare (job #111322) | oni2015.1112.bv.05 | Borderou de evaluare (job #1035193) | Borderou de evaluare (job #1388122)
Borderou de evaluare (job #1388122)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:55: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for (int i=1;s[i];++i) l = l * 10 + p[s[i]];
^
user.cpp:8:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mcript.in","r",stdin);
^
user.cpp:9:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mcript.out","w",stdout);
^
user.cpp:11:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%s",&aux,s+1);
^
user.cpp:14:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&aux);
^
user.cpp:17:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",s+1);l = 0;
^
user.cpp:21:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&aux);
^
user.cpp:24:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:28:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",s+1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 400kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 396kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 416kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 400kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 400kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 408kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 396kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 400kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 404kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 412kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |