Pagini recente » Borderou de evaluare (job #1532026) | Borderou de evaluare (job #1834350) | Cod sursa (job #25152) | Borderou de evaluare (job #1501274) | Borderou de evaluare (job #1535981)
Borderou de evaluare (job #1535981)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:46:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pm2.in","r",stdin);
^
user.cpp:47:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pm2.out","w",stdout);
^
user.cpp:48:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:49:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;i++) scanf("%d",&t[i]);
^
user.cpp:52:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:54:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 444kb | OK! | 10 |
| 2 | 0ms | 460kb | A doua valoare gresita! | 7 |
| 3 | 0ms | 456kb | OK! | 10 |
| 4 | 0ms | 452kb | A doua valoare gresita! | 7 |
| 5 | 36ms | 512kb | OK! | 10 |
| 6 | 32ms | 516kb | OK! | 10 |
| 7 | 0ms | 456kb | OK! | 10 |
| 8 | 0ms | 464kb | OK! | 10 |
| 9 | 0ms | 476kb | OK! | 10 |
| 10 | 0ms | 456kb | OK! | 10 |
| Punctaj total | 94 |