Pagini recente » Borderou de evaluare (job #2564468) | Borderou de evaluare (job #2555801) | Borderou de evaluare (job #377532) | Borderou de evaluare (job #2145362) | Borderou de evaluare (job #1274576)
Borderou de evaluare (job #1274576)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
for(int i=1;i<=n;i++) scanf("%d",&v[i]);
^
user.cpp:19:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("telecab.in", "r", stdin);
^
user.cpp:20:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("telecab.out", "w", stdout);
^
user.cpp:22:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&k,&s);
^
user.cpp:23:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=n;i++) scanf("%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 340kb | Time limit exceeded. | 0 |
2 | 0ms | 344kb | Corect ! | 10 |
3 | 0ms | 340kb | Corect ! | 10 |
4 | Depăşit | 676kb | Time limit exceeded. | 0 |
5 | Depăşit | 324kb | Time limit exceeded. | 0 |
6 | 8ms | 684kb | Corect ! | 10 |
7 | 16ms | 1252kb | Corect ! | 10 |
8 | 20ms | 1804kb | Corect ! | 10 |
9 | 24ms | 2416kb | Corect ! | 10 |
10 | 24ms | 2696kb | Corect ! | 10 |
Punctaj total | 70 |