Pagini recente » Borderou de evaluare (job #1307773) | Borderou de evaluare (job #806486) | Borderou de evaluare (job #106883) | Borderou de evaluare (job #2353359) | Borderou de evaluare (job #1466039)
Borderou de evaluare (job #1466039)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:27: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nk.in","r",stdin);
^
user.cpp:24:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nk.out","w",stdout);
^
user.cpp:25:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:27:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&m,&k); maxx=0;
^
user.cpp:28:61: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (j=1;j<=m;j++) scanf("%d",&t[j]),maxx=max(maxx,t[j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 444ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |