Pagini recente » Borderou de evaluare (job #1215549) | Borderou de evaluare (job #2568448) | Borderou de evaluare (job #3125938) | Borderou de evaluare (job #2554493) | Borderou de evaluare (job #1663060)
Borderou de evaluare (job #1663060)
Raport evaluator
Compilare:
user.cpp: In function ‘void rez()’:
user.cpp:22:37: warning: too many arguments for format [-Wformat-extra-args]
scanf("%d",&aux.x,&aux.y);
^
user.cpp:27:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1;i<A.size();i++)
^
user.cpp: In function ‘void citire()’:
user.cpp:10:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("linterv.int","r",stdin);
^
user.cpp:11:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("linterv.out","w",stdout);
^
user.cpp:12:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp: In function ‘void rez()’:
user.cpp:19:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:22:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&aux.x,&aux.y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 208kb | Incorect | 0 |
Punctaj total | 0 |