Pagini recente » Borderou de evaluare (job #1577771) | Borderou de evaluare (job #1607322) | Borderou de evaluare (job #2221353) | Borderou de evaluare (job #3244367) | Borderou de evaluare (job #1214624)
Borderou de evaluare (job #1214624)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:29:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(unsigned int j=0;j<m;j++)
^
user.cpp:14:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("thread.in","r",stdin);
^
user.cpp:15:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("thread.out","w",stdout);
^
user.cpp:18:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&T);
^
user.cpp:21:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:22:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=n;i++) scanf("%d",&a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 292ms | 652kb | OK | 100 |
Punctaj total | 100 |