Pagini recente » Cod sursa (job #862703) | Borderou de evaluare (job #537584) | Cod sursa (job #265601) | Cod sursa (job #990388) | Borderou de evaluare (job #1808565)
Borderou de evaluare (job #1808565)
Raport evaluator
Compilare:
user.cpp: In function ‘int read_nr()’:
user.cpp:19: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:36: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:17: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:29: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:30: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:34: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 | 0ms | Depăşit | Memory limit exceeded. | 0 |
2 | 0ms | Depăşit | Memory limit exceeded. | 0 |
3 | 0ms | Depăşit | Memory limit exceeded. | 0 |
4 | 0ms | Depăşit | Memory limit exceeded. | 0 |
5 | 0ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |