Pagini recente » Borderou de evaluare (job #629928) | Borderou de evaluare (job #1479675) | Borderou de evaluare (job #1877543) | Borderou de evaluare (job #2586748) | Borderou de evaluare (job #1758439)
Borderou de evaluare (job #1758439)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:13: warning: unused variable ‘m’ [-Wunused-variable]
int m=1;a[1]=0;a[2]=0;a[3]=0;
^
user.cpp:8:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pufu.in", "r", stdin);
^
user.cpp:9:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pufu.out", "w", stdout);
^
user.cpp:10:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:12:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:15:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 100 |
Punctaj total | 100 |