Pagini recente » Diferente pentru problema/sdp intre reviziile 10 si 21 | Monitorul de evaluare | Cod sursa (job #2504395) | Atasamentele paginii 124475824691316 | Borderou de evaluare (job #2202788)
Borderou de evaluare (job #2202788)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
for(int i=1;i<=n;i++)
^~~
user.cpp:32:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
int mx=0;
^~~
user.cpp:27:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("scmax.in","r",stdin);
^
user.cpp:28:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("scmax.out","w",stdout);
^
user.cpp:29:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:35:23: 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 |
Punctaj/grupa |
| 1 | 0ms | 1344kb | Corect! | 10 | 10 |
| 2 | 0ms | 1388kb | Corect! | 10 | 10 |
| 3 | 0ms | 1328kb | Corect! | 10 | 10 |
| 4 | 0ms | 1332kb | Corect! | 10 | 10 |
| 5 | 0ms | 1332kb | Corect! | 10 | 10 |
| 6 | 0ms | 1340kb | Corect! | 10 | 10 |
| 7 | 0ms | 1352kb | Corect! | 10 | 10 |
| 8 | 56ms | 2492kb | Corect! | 10 | 30 |
| 9 | 48ms | 2484kb | Corect! | 10 |
| 10 | 52ms | 2492kb | Corect! | 10 |
| Punctaj total | 100 |