Pagini recente » Cod sursa (job #1475601) | Cod sursa (job #613387) | Cod sursa (job #136855) | Borderou de evaluare (job #1118687) | Borderou de evaluare (job #1516923)
Borderou de evaluare (job #1516923)
Raport evaluator
Compilare:
user.cpp: In function ‘int prefix()’:
user.cpp:11:38: warning: unused variable ‘nr’ [-Wunused-variable]
int i = 1, j = 0, l = strlen(s), nr = 0;
^
user.cpp: In function ‘int main()’:
user.cpp:34:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefix.in", "r", stdin);
^
user.cpp:35:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefix.out", "w", stdout);
^
user.cpp:36:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:38:23: 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 | 272kb | OK | 10 |
| 2 | 0ms | 280kb | OK | 10 |
| 3 | 0ms | 356kb | OK | 10 |
| 4 | 32ms | 2568kb | OK | 10 |
| 5 | 8ms | 760kb | OK | 10 |
| 6 | 24ms | 1496kb | OK | 10 |
| 7 | 60ms | 3532kb | OK | 10 |
| 8 | 96ms | 5092kb | OK | 10 |
| 9 | 4ms | 596kb | OK | 10 |
| 10 | 0ms | 276kb | OK | 10 |
| Punctaj total | 100 |