Pagini recente » Borderou de evaluare (job #1160900) | clasament-arhiva-educationala | Borderou de evaluare (job #222703) | Clasamentul arhivei de probleme | Borderou de evaluare (job #1808566)
Borderou de evaluare (job #1808566)
Raport evaluator
Compilare:
user.cpp: In function ‘int read_nr()’:
user.cpp:20:30: warning: NULL used in arithmetic [-Wpointer-arith]
for( j=0 , nr=0; sir[j]!=NULL ; j++){
^
user.cpp: In function ‘int main()’:
user.cpp:37:36: warning: NULL used in arithmetic [-Wpointer-arith]
for( j=0 , nr=0; sir[j] != NULL ; j++){
^
user.cpp: In function ‘int read_nr()’:
user.cpp:18:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",sir);
^
user.cpp: In function ‘int main()’:
user.cpp:30:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dtcsu.in","r",stdin);
^
user.cpp:31:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dtcsu.out","w",stdout);
^
user.cpp:35:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",sir);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 216ms | 824kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 212ms | 828kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 216ms | 832kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 1496ms | 880kb | OK | 20 |
5 | 216ms | 828kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 20 |