Pagini recente » Borderou de evaluare (job #485212) | Borderou de evaluare (job #2418093) | Borderou de evaluare (job #1913438) | Borderou de evaluare (job #1604210) | Borderou de evaluare (job #1711187)
Borderou de evaluare (job #1711187)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:15:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:20:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", puf);
^
user.cpp: In function ‘int main()’:
user.cpp:42:33: 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:43:36: 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:46:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | OK | 100 |
Punctaj total | 100 |